Skip to content

Create User

POST /users
FieldTypeNotes
emailstringrequiredmin length 3 max length 254
full_namestring | nulloptionalmax length 200
passwordstring | nulloptionalmin length 12 max length 256
roleviewer | member | admin | owner | operatoroptionalDefault "member".
scopeworkspace | organization | platformoptionalDefault "workspace".
workspace_idstring (uuid) | nulloptional—
StatusDescriptionBody
201Successful ResponseUserView
422Validation ErrorHTTPValidationError

The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.

Terminal window
curl -X POST https://your-deployment.example.com/users \
-H "Authorization: Bearer $COBRE_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"email": "string"
}'
FieldTypeNotes
idstring (uuid)required—
emailstringrequired—
full_namestring | nulloptional—
roleviewer | member | admin | owner | operatorrequired—
scopeworkspace | organization | platformrequired—
organization_idstring (uuid) | nulloptional—
workspace_idstring (uuid) | nulloptional—
is_activebooleanrequired—
mfa_enabledbooleanrequired—
last_login_atstring (date-time) | nulloptional—
created_atstring (date-time)required—
updated_atstring (date-time)required—