Skip to main content
POST
/
auth
/
register
Register:Register
curl --request POST \
  --url https://cloud.onyx.app/api/auth/register \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "password": "<string>",
  "is_active": true,
  "is_superuser": true,
  "is_verified": true,
  "role": "limited",
  "tenant_id": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"is_active": true,
"is_superuser": false,
"is_verified": false,
"role": "limited"
}

Body

application/json
email
string<email>
required
password
string
required
is_active
boolean | null
default:true
is_superuser
boolean | null
default:false
is_verified
boolean | null
default:false
role
enum<string>
default:basic

User roles

  • Basic can't perform any admin actions
  • Admin can perform all admin actions
  • Curator can perform admin actions for groups they are curators of
  • Global Curator can perform admin actions for all groups they are a member of
  • Limited can access a limited set of basic api endpoints
  • Slack are users that have used Onyx via slack but dont have a web login
  • External permissioned users that have been picked up during the external permissions sync process but don't have a web login
Available options:
limited,
basic,
admin,
curator,
global_curator,
slack_user,
ext_perm_user
tenant_id
string | null

Response

Successful Response

id
string<uuid>
email
string<email>
is_active
boolean
default:true
is_superuser
boolean
default:false
is_verified
boolean
default:false
role
enum<string>

User roles

  • Basic can't perform any admin actions
  • Admin can perform all admin actions
  • Curator can perform admin actions for groups they are curators of
  • Global Curator can perform admin actions for all groups they are a member of
  • Limited can access a limited set of basic api endpoints
  • Slack are users that have used Onyx via slack but dont have a web login
  • External permissioned users that have been picked up during the external permissions sync process but don't have a web login
Available options:
limited,
basic,
admin,
curator,
global_curator,
slack_user,
ext_perm_user
I