Updates a tenant
PUThttps://apis.<domain>/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": "My Custom Tenant",
"id": "custom-tenant"
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X PUT 'https://apis.<domain>/iam/tenants/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"name": "My Custom Tenant"
}'