Users
Members within the workspace. Learn more about user management here.
Create a new user in the workspace.
Authorizations
Body
first_namestringOptionalExample:
Indicates the first name of the user.
Samplelast_namestringOptionalExample:
Indicates the last name of the user.
UserrolestringOptionalExample:
Indicates the role of the user. Values can be - Admin Editor Viewer Guest
editorteamsstring[]OptionalExample:
List of team IDs (optional). It is mandatory if the role is guest.
["33733f42-8ff7-460b-9e20-50a2133d3bb0","c90dedee-40ee-47ec-9c27-96dc3b2ec363"]user_groupsstring[]OptionalExample:
List of group IDs (optional)
["33733f42-8ff7-460b-9e20-50a2133d3bb0","c90dedee-40ee-47ec-9c27-96dc3b2ec363"]Responses
201
Created
application/json
400
Bad Request
500
Internal Server Error
post
/api/v1/userUse this endpoint to update the user. Editable fields include the first name, last name, and role.
Authorizations
Path parameters
idstringRequiredExample:
The ID of the user to update.
3131f219-16bb-4c95-853a-894ae12db42aBody
first_namestringOptionalExample:
Indicates the first name of the user.
Samplelast_namestringOptionalExample:
Indicates the last name of the user.
UserResponses
200
User updated successfully
application/json
400
Bad Request
404
User not found
500
Internal Server Error
patch
/api/v1/user/{id}Last updated
Was this helpful?