Platform
Rename Tenant
Changed onRequired role: owner.
Change a tenant's name. Only the name changes: pipelines, API keys, members and OIDC trust relationships all reference the tenant by its identifier and are unaffected.
Set displace_existing to replace a tenant atomically with one that's currently in use. This renames the conflicting tenant to <name> (<id>) in the same transaction, with everything it had. Two calls potentially lose to another user request, which could re-create the name in between.
patch/v0/tenants/{tenant_id}
Request
- The document declares no server URL.
- Auth: HTTP bearer
Path parameters
tenant_idstring required
Tenant identifier
Request body
Example request
{
"name": "acme"
}Response
Tenant renamed
Changes
- info
for the
pathrequest parametertenant_id, the format was generalized fromuuidto no format
- info
- info
for the
pathrequest parametertenant_id, the format was generalized fromuuidto no format
- info