Lists all tenants
GET/iam/tenants
Lists all tenants.
Authorization Action:
iam:tenants:list
Request
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tenants object[]
name string
Name for the tenant.
id string
Unique ID. Cannot be changed.
type compiuta.api.iam.v2.Type
Possible values: [COMPIUTA_MANAGED
, CUSTOM
]
Default value: COMPIUTA_MANAGED
{
"tenants": [
{
"name": "My Custom Tenant",
"id": "custom-tenant"
},
{
"name": "My Custom Tenant 2",
"id": "custom-tenant-2"
}
]
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...