Mediloop

Update tenant

Platform

Update supported tenant settings without changing tenant ownership or immutable identifiers.

Isolation

Tenant-scoped by design

Hierarchy

Organizations + sub-organizations

Access

Membership + role context

Configuration

Policies, modules & branding

PATCH/v1/tenants/{id}Scope: tenants.write

Endpoint summary

MethodEndpointRequired scope
PATCH/v1/tenants/{id}tenants.write

Path parameters

ParameterTypeRequiredDescription
idstringYesTenant identifier

Request body

FieldTypeRequiredDescription
organization_idstringNoOwning organization
namestringNoTenant display name
tenant_typestringNoTenant category
regionstringNoApproved hosting region

Example request

PATCH /v1/tenants/{id}Copy
PATCH /v1/tenants/{id}
Authorization: Bearer $ACCESS_TOKEN
Content-Type: application/json

{
  "name":"Updated display name"
}

Responses

CodeMeaning
200Updated successfully
400Unsupported or invalid field
403Insufficient access
404Resource not found
409Lifecycle or concurrency conflict

Tenant model

FieldTypeDescription
idstringImmutable tenant identifier
organization_idstringOwning organization
tenant_typeenumOperational tenant category
statusenumprovisioning, active, suspended, archived
regionstringData / hosting region
settingsobjectTenant-specific non-secret configuration