API Reference
List Users
Retrieves a list of all users for the current account.
URL:
/Users
Method:
GET
Response:
Code: 200 OK
Content:
Get User
Retrieves a specific user by their SCIM ID or external ID.
URL:
/Users/:id
Method:
GET
URL Parameters:
id=[string]
(SCIM ID or external ID)Response:
Code: 200 OK
Content: Same as individual user object in List Users response
Create User
Creates a new user in the system.
URL:
/Users
Method:
POST
Data Params:
Response:
Code: 201 Created
Content: Created user object
Update User
Updates an existing user's information.
URL:
/Users/:id
(SCIM ID or external ID)Method:
PUT
URL Parameters:
id=[string]
( ID or external ID)Data Params: Same as Create User
Response:
Code: 200 OK
Content: Updated user object
5. Delete User
Deletes a user from the system.
URL:
/Users/:id
Method:
DELETE
URL Parameters:
id=[string]
( ID or external ID)Response:
Code: 204 No Content
Error Responses
In case of errors, the API will respond with an appropriate HTTP status code and a JSON object containing error details:
Common error scenarios:
User not found: 404 Not Found
Invalid input: 422 Unprocessable Entity
Attempting to delete account owner: 403 Forbidden
Internal server error: 500 Internal Server Error
Notes
The API uses SCIM 2.0 schemas and conventions.
User passwords are automatically generated and not returned in responses.
The
active
field in user objects indicates whether the user account is currently active.The
roles
field in user objects contains an object with role names as keys and boolean values indicating whether the role is assigned to the user within the current account.
Overriding Roles
When creating or updating a user, you can override the default roles by including a roles
object in your request. The roles
object should contain boolean values for each role you want to set:
If you don't include the
roles
object, the default roles will be applied (admin: false, member: true, editor: false).If you include the
roles
object but omit a role, it will be set tofalse
by default.To assign a role to a user, set its value to
true
in theroles
object.To remove a role from a user, set its value to
false
in theroles
object.
Example:
This request would create a user with both admin and member roles, but without the editor role.
When creating or updating users, email validation is skipped to accommodate various SCIM client behaviors.
The account owner cannot be deleted through this API.
Last updated