Skip to main content
GET
/
get-user-role
Get User Role
curl --request GET \
  --url https://cloud.onyx.app/api/get-user-role \
  --header 'Authorization: Bearer <token>'
{
  "role": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://danswer-mintlify-deep-research-1773355783.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authorization header with Bearer token

Response

Successful Response

role
string
required