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"
}
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"
}
Successful Response
The response is of type object
.
Was this page helpful?