Use this API to assign users to a tenant.
Method |
URL |
Required authentication |
POST |
/V1/CMDB/Tenants/Users |
Yes |
Name |
Description |
---|---|
Token*required |
Place the token received from the API Log in to get an authentication token. |
Request*required |
The body contains the following parameters: ▪tenantId*(string): the ID of the tenant that you assign users to. ▪users*(list): a list of users you want to assign. It contains two sub parameters: ousername*(string): the name of a user. oisTenantAdmin(bool): determine whether the assigned user is an admin. Example: { |
Parameter |
Type |
Description |
Example |
---|---|---|---|
statusCode |
integer |
The returned status code of executing the API. |
{ |
statusDescription |
string |
The explanation of the status code. |