Mediloop
PlatformOrganizations / TenantsUpdate organization

Update organization

Platform

Update organization metadata, legal information and supported configuration fields.

Isolation

Tenant-scoped by design

Hierarchy

Organizations + sub-organizations

Access

Membership + role context

Configuration

Policies, modules & branding

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

Endpoint summary

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

Path parameters

ParameterTypeRequiredDescription
idstringYesOrganization identifier

Request body

FieldTypeRequiredDescription
namestringNoOrganization name
typestringNoOrganization type
legal_identifierstringNoApproved external legal identifier
parent_organization_idstringNoOptional parent organization

Example request

PATCH /v1/organizations/{id}Copy
PATCH /v1/organizations/{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

Organization model

FieldTypeDescription
idstringImmutable organization identifier
namestringDisplay / legal organization name
typeenumhospital, clinic, pharmacy_group, supplier, healthtech, other
statusenumdraft, active, suspended, archived
parent_organization_idstring | nullOptional parent organization
primary_tenant_idstring | nullPrimary operational tenant reference