Skip to content

Update Tenant

PATCH
/v1/platform/tenants/{tenant_id}
curl --request PATCH \
--url http://localhost:8080/v1/platform/tenants/example \
--header 'Content-Type: application/json' \
--data '{ "name": "example" }'
tenant_id
required
Tenant Id
string
Media type application/json
UpdateTenantPayload
object
name
required
Name
string
>= 1 characters <= 256 characters
Example generated
{
"name": "example"
}

Successful Response

Media type application/json
Response Update Tenant V1 Platform Tenants Tenant Id Patch
object
key
additional properties
any
Example generated
{}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}