Tenant - Assign tenant-level access to users of the requested tenant
Authorizations
Path parameters
tenantIdstring · uuidRequired
Expects Id of an existing tenant
userIdstring · uuidRequired
Expects Id of an existing user in requested tenant
Query parameters
rolestring · enumRequiredPossible values:
Enum for tenant level roles.
versionstringOptionalDefault:
The requested API version
1.0
Responses
201
Indicates successful assignment of tenant level role to user
404
Indicates that the requested tenant does not exist
500
Server related error
post
POST /tenants/{tenantId}/users/{userId}/roles?role=Viewer HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"userId": "123e4567-e89b-12d3-a456-426614174000",
"tenantId": "123e4567-e89b-12d3-a456-426614174000",
"role": "text"
}
Last updated