Assign Role-based Tenants to a User
Assign Role-based Tenants to a User
Request
This API assigns role-based tenants to the user. Using this API, the tenants can be mapped to roles, and, when you assign those roles to the user: the user gets role-based access to individual tenants.
Parameter | Name | Required | Details |
---|---|---|---|
Headers | Authorization |
Yes | Information about authentication access token in format
Bearer <accessToken> (see details in Authentication API). |
Content-Type |
Yes | Should be Content-Type: application/json . |
|
Body | Yes | JSON Array with all the roles and tenants of that role applicable for the user. |
Response
The response contains a JSON object of successfully updated role-based tenants.
Assigning Role-based Tenants to a User
Request
Response