latestOpenAPI 3.0.02026-08-0819201.1 MB
411f9f98c01e
tenants
Grant/Revoke any available in the tenant scope role to/from the User with the specified Tenant Id and User Id
You need tenants.membership.edit permission to access this resource
data.attributes.roles should be a array of roles are needed to be granted for User
data.attributes.roles should be an empty array to revoke all roles from the User
patch/tenants/{tenant_id}/members/{user_id}
Path parameters
tenant_idstring required
Tenant identifier
user_idstring required
User identifier
Request body
Response
OK
Example response
{
"data": {
"id": "5b4f337bff4304610483ba67",
"relationships": {
"user": {
"data": {
"id": "5b4f337bff4304610483ba67"
},
"links": {
"self": "/v2/users/5b4f337bff4304610483ba67"
}
},
"tenant": {
"data": {
"id": "5b4f337bff4304610483ba67"
},
"links": {
"self": "/v2/tenant/5b4f337bff4304610483ba67"
}
}
}
}
}