Users & teams API
17 endpoints. All requests need an Authorization header — see Authentication. API keys additionally need the matching scope.
| Method | Path | Description |
|---|---|---|
GET |
/api/teams/ |
List Teams |
POST |
/api/teams/ |
Create Team Accepts a JSON body. |
GET |
/api/teams/{team_id} |
Get Team |
PATCH |
/api/teams/{team_id} |
Update Team Accepts a JSON body. |
DELETE |
/api/teams/{team_id} |
Delete Team |
POST |
/api/teams/{team_id}/members |
Add Member Accepts a JSON body. |
PATCH |
/api/teams/{team_id}/members/{member_id} |
Update Member Query: role. |
DELETE |
/api/teams/{team_id}/members/{member_id} |
Remove Member |
GET |
/api/users/ |
List Users |
POST |
/api/users/ |
Create User Accepts a JSON body. |
GET |
/api/users/admin/active-sessions |
Get Active Sessions |
GET |
/api/users/forecast-users |
List Forecast Users |
GET |
/api/users/{user_id} |
Get User |
PATCH |
/api/users/{user_id} |
Update User Accepts a JSON body. |
GET |
/api/users/{user_id}/login-history |
Get User Login History Query: limit, offset. |
GET |
/api/users/{user_id}/profile |
Get User Profile |
POST |
/api/users/{user_id}/reset-password |
Reset User Password |
Try it
The full request/response schema for every endpoint is in the OpenAPI spec served by your own workspace.