Updates a tenant
PUT/iam/tenants/:id
Updates the name of an existing tenant.
Authorization Action:
iam:tenants:update
Request
Path Parameters
id stringrequired
Unique ID. Cannot be changed.
- application/json
Body
required
name stringrequired
Name for the tenant.
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
tenant 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
{
"name": "My Custom Tenant",
"id": "custom-tenant"
}
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...