/v1/organization/configAuthentication
Bearer API key or Facily session, subject to permissions and facility scope.
Authentication and scopeRequest example
Replace bracketed path values with real IDs from your environment. The body, where shown, is generated from the schema and uses illustrative values.
curl --request PATCH \
--url 'https://api.staging.facily.ai/v1/organization/config' \
--header "Authorization: Bearer $FACILY_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'Request body
application/json · Required
objectResponses
Expand a status to inspect its schema. Generated examples show structure and synthetic values.
200Successful Response
{
"data": {
"access_control": {
"inherited": {},
"inherited_from": {},
"overrides": {},
"resolved": {}
},
"billing": {
"inherited": {},
"inherited_from": {},
"overrides": {},
"resolved": {}
},
"delinquency": {
"inherited": {},
"inherited_from": {},
"overrides": {},
"resolved": {}
},
"downstream": {
"changed": [
"00000000-0000-4000-8000-000000000001"
],
"kept_own": [
"00000000-0000-4000-8000-000000000001"
],
"partially_changed": [
"00000000-0000-4000-8000-000000000001"
],
"retained_siblings": {}
},
"localization": {
"inherited": {},
"inherited_from": {},
"overrides": {},
"resolved": {}
},
"notifications": {
"inherited": {},
"inherited_from": {},
"overrides": {},
"resolved": {}
},
"operations": {
"inherited": {},
"inherited_from": {},
"overrides": {},
"resolved": {}
},
"payments": {
"inherited": {},
"inherited_from": {},
"overrides": {},
"resolved": {}
}
},
"meta": {
"request_id": "string"
}
}application/json
dataOrganizationConfigPatchResponserequired`PATCH /v1/organization/config`.
Show data schema
access_controlConfigDomainResponserequiredOne config domain's GET/PATCH response: effective value + provenance.
Show access_control schema
inheritedobjectrequiredinherited_fromobjectrequiredoverridesobjectrequiredresolvedobjectrequiredbillingConfigDomainResponserequiredOne config domain's GET/PATCH response: effective value + provenance.
Show billing schema
inheritedobjectrequiredinherited_fromobjectrequiredoverridesobjectrequiredresolvedobjectrequireddelinquencyConfigDomainResponserequiredOne config domain's GET/PATCH response: effective value + provenance.
Show delinquency schema
inheritedobjectrequiredinherited_fromobjectrequiredoverridesobjectrequiredresolvedobjectrequireddownstreamDownstreamImpactResponserequiredThe fan-out report on `PATCH /v1/organization/config`: how far this save actually reached.
Show downstream schema
changedstring[]requiredFacilities overriding NONE of the leaves this save wrote -- the organization value lands.
Show changed schema
stringkept_ownstring[]requiredFacilities overriding EVERY leaf this save wrote -- the save reached nothing there.
Show kept_own schema
stringpartially_changedstring[]requiredFacilities overriding SOME but not all of the leaves this save wrote. Only a multi-leaf save can produce this; a single-leaf save has exactly two honest answers.
Show partially_changed schema
stringretained_siblingsobjectDetail, never a count: facility id -> domain -> the facility's own leaf paths that sit under the same nested object as something this save wrote and therefore survive it. Lets a drill-down say 'receipt will be enabled; Beta keeps its own channels'. Facilities with nothing retained are absent.
localizationConfigDomainResponserequiredOne config domain's GET/PATCH response: effective value + provenance.
Show localization schema
inheritedobjectrequiredinherited_fromobjectrequiredoverridesobjectrequiredresolvedobjectrequirednotificationsConfigDomainResponserequiredOne config domain's GET/PATCH response: effective value + provenance.
Show notifications schema
inheritedobjectrequiredinherited_fromobjectrequiredoverridesobjectrequiredresolvedobjectrequiredoperationsConfigDomainResponserequiredOne config domain's GET/PATCH response: effective value + provenance.
Show operations schema
inheritedobjectrequiredinherited_fromobjectrequiredoverridesobjectrequiredresolvedobjectrequiredpaymentsConfigDomainResponserequiredOne config domain's GET/PATCH response: effective value + provenance.
Show payments schema
inheritedobjectrequiredinherited_fromobjectrequiredoverridesobjectrequiredresolvedobjectrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired400Validation error
{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"request_id": "string"
}
}application/json
errorErrorBodyrequiredThe shape of error.* in an error response.
Show error schema
codestringrequireddetailsobject | nullShow details schema
object | nullVariant 1: object
objectVariant 2: null
nullmessagestringrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired401Unauthenticated
{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"request_id": "string"
}
}application/json
errorErrorBodyrequiredThe shape of error.* in an error response.
Show error schema
codestringrequireddetailsobject | nullShow details schema
object | nullVariant 1: object
objectVariant 2: null
nullmessagestringrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired403Permission denied
{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"request_id": "string"
}
}application/json
errorErrorBodyrequiredThe shape of error.* in an error response.
Show error schema
codestringrequireddetailsobject | nullShow details schema
object | nullVariant 1: object
objectVariant 2: null
nullmessagestringrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired404Not found
{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"request_id": "string"
}
}application/json
errorErrorBodyrequiredThe shape of error.* in an error response.
Show error schema
codestringrequireddetailsobject | nullShow details schema
object | nullVariant 1: object
objectVariant 2: null
nullmessagestringrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired409Business logic error
{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"request_id": "string"
}
}application/json
errorErrorBodyrequiredThe shape of error.* in an error response.
Show error schema
codestringrequireddetailsobject | nullShow details schema
object | nullVariant 1: object
objectVariant 2: null
nullmessagestringrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired503Temporary failure
{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"request_id": "string"
}
}application/json
errorErrorBodyrequiredThe shape of error.* in an error response.
Show error schema
codestringrequireddetailsobject | nullShow details schema
object | nullVariant 1: object
objectVariant 2: null
nullmessagestringrequiredmetaMetarequiredEnvelope metadata. Every response carries one.
Show meta schema
request_idstringrequired