License all the users on the domains belonging to a specific tenant
Permission Level: SuperAdmin
POST /users/license
Operation id: UserService_LicenseUsers
Tags: UserService
Security
- Authorization (apiKey)
- Bearer token
Responses
200 — A successful response.
Content type: application/json
default — An unexpected error response.
Content type: application/json
Request body
Required: Yes
application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
tenantId | string | No | |
domains | array | No | |
userCount | integer (int32) | No |
{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"domains": {
"type": "array",
"items": {
"type": "string"
}
},
"userCount": {
"type": "integer",
"format": "int32"
}
}
}
Response models
200 — A successful response.
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
licensedUsersCount | integer (int32) | No |
{
"type": "object",
"properties": {
"licensedUsersCount": {
"type": "integer",
"format": "int32"
}
}
}
default — An unexpected error response.
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
code | integer (int32) | No | |
message | string | No | |
details | array | No |
{
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
}
}
}
}
}