Returns a list of ownerTenantIds based on the permission resource type
GET /users/permissions/tenants
Operation id: PermissionService_GetTenantsByResourceType
Tags: PermissionService
Parameters
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
resourceType | string | No | The resource type. Required: true |
Security
- Authorization (apiKey)
- Bearer token
Responses
200 — A successful response.
Content type: application/json
default — An unexpected error response.
Content type: application/json
Response models
200 — A successful response.
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
tenants | array | No |
{
"type": "object",
"properties": {
"tenants": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
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"
}
}
}
}
}
}