Skip to content

Update a organisation-relationship

PUT
/organisation-relationships/{id}
id
required
string

DocumentId

object
data
object
parent_org
One of:

DocumentId reference to api::organisation.organisation

string
child_org
One of:

DocumentId reference to api::organisation.organisation

string
type
required
string
Allowed values: managed-by partnership sencai-internal
scope

List of capability names parent org has over child org

status
required
string
Allowed values: pending active suspended revoked
granted_by
One of:

DocumentId reference to plugin::users-permissions.user

string
accepted_by_managed

Child org owner must explicitly accept the relationship

boolean
expires_at
string format: date-time
notes
string
home_region
required

Logical data-residency region of the tenant (CELL invariant, F2.CELL.01)

string
Allowed values: eu us apac
cell_id

Deployment cell within home_region for blast-radius isolation (CELL invariant, F2.CELL.01)

string
billing_model

Who is billed: agency_billed = operator pays for managed tenant; managed_billed = tenant pays separately; sencai_internal = Sencai-internal relationship

string
Allowed values: agency_billed managed_billed sencai_internal

Updated

object
data
object
parent_org
One of:

DocumentId reference to api::organisation.organisation

string
child_org
One of:

DocumentId reference to api::organisation.organisation

string
type
required
string
Allowed values: managed-by partnership sencai-internal
scope

List of capability names parent org has over child org

status
required
string
Allowed values: pending active suspended revoked
granted_by
One of:

DocumentId reference to plugin::users-permissions.user

string
accepted_by_managed

Child org owner must explicitly accept the relationship

boolean
expires_at
string format: date-time
notes
string
home_region
required

Logical data-residency region of the tenant (CELL invariant, F2.CELL.01)

string
Allowed values: eu us apac
cell_id

Deployment cell within home_region for blast-radius isolation (CELL invariant, F2.CELL.01)

string
billing_model

Who is billed: agency_billed = operator pays for managed tenant; managed_billed = tenant pays separately; sencai_internal = Sencai-internal relationship

string
Allowed values: agency_billed managed_billed sencai_internal
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Validation error

Missing or invalid authentication

Not authorized (tenant scope or capability)

Not found