Set User Role
curl --request PATCH \
--url https://cloud.onyx.app/api/manage/set-user-role \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_email": "<string>",
"explicit_override": false
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}User Management
Set User Role
PATCH
/
manage
/
set-user-role
Set User Role
curl --request PATCH \
--url https://cloud.onyx.app/api/manage/set-user-role \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_email": "<string>",
"explicit_override": false
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.onyx.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Authorization header with Bearer token
Body
application/json
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 Response
Successful Response
Was this page helpful?
⌘I