Skip to main content

Updates a tenant

PUT 

https://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.

Body

required
    name stringrequired

    Name for the tenant.

Responses

A successful response.

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

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"
}'
Request Collapse all
Base URL
https://apis.<domain>
Parameters
— pathrequired
Body required
{
"name": "My Custom Tenant"
}