Retrieve user role and permissions
Contributors
Suggest changes
GET /tenancy/account/{accountId}/permissions-for-user
Retrieves the user role and permissions of the specified account.
Token usage: BlueXP user token.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
accountId |
string |
path |
True |
|
authorization |
string |
header |
True |
|
X-User-Token |
string |
header |
False |
|
X-Service-Request-Id |
string |
header |
False |
Response
Status: 200, Default response
Name | Type | Required | Description |
---|---|---|---|
role |
string |
False |
|
permissions |
array[string] |
False |
Example response
{
"role": "string",
"permissions": [
"string"
]
}