Mediloop
PlatformOrganizations / TenantsOrganizations / Tenants API Reference

Organizations / Tenants API Reference

Platform

Endpoint reference for organizations, tenants, context, hierarchy, locations and configuration.

Isolation

Tenant-scoped by design

Hierarchy

Organizations + sub-organizations

Access

Membership + role context

Configuration

Policies, modules & branding

Organizations

MethodEndpointPurpose
GET/v1/organizationsList accessible organizations
POST/v1/organizationsCreate organization
GET/v1/organizations/{id}Get organization
PATCH/v1/organizations/{id}Update organization

Tenants

MethodEndpointPurpose
GET/v1/tenantsList accessible tenants
POST/v1/tenantsProvision tenant
GET/v1/tenants/{id}Get tenant
PATCH/v1/tenants/{id}Update tenant

Context

Active contextCopy
X-Tenant-Id: tnt_01
X-Membership-Id: mbr_01

Hierarchy

EndpointPurpose
GET /v1/organizations/{id}/childrenList child organizations
GET /v1/organizations/{id}/tenantsList organization tenants

Locations

MethodEndpoint
GET/v1/locations
POST/v1/locations
GET/v1/locations/{id}
PATCH/v1/locations/{id}

Configuration

EndpointPurpose
GET /v1/tenants/{id}/configurationRead public tenant configuration
PATCH /v1/tenants/{id}/configurationUpdate supported settings
GET /v1/tenants/{id}/entitlementsRead feature entitlements and quotas

Response codes

CodeMeaning
200Success
201Created
400Validation error
403Insufficient tenant/organization access
404Resource not found in accessible context
409Conflict or invalid lifecycle state