Create / Update Tenants
API to create a new Tenant OR update an existing Tenant
Path parameters
Tenant identifier to create or update. Max 64 chars; allowed characters [a-z0-9_.-].
Request body
Example request
{
"parent_id": "acme-corp",
"blocked_channels": [
"sms"
],
"secondary_color": "#00ff00",
"tertiary_color": "#0000ff"
}Response
201 - Created
Tenant object returned. Fields hold the tenant's own local values — values not set on this tenant come back as null (or as empty objects/arrays). For flat tenants (no sub-tenants), unset fields stay unresolved and the tenant simply has no value for them. For sub-tenants, unset fields still return null here, but are resolved from the closest ancestor that has a value set at trigger time.
Changes
Changed in 1 of the 7 revisions of this API.115
- ▲
added the pattern
^[a-z0-9_.-]+$to thepathrequest parametertenant_idrequest-parameter-pattern-added
- ●
for the
pathrequest parametertenant_id, the maxLength was set to64request-parameter-max-length-set
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new required request property
with a default valuenew-required-request-property-with-default
- ○
the request property
became optionalrequest-property-became-optional
- ○
the
request property default valueAwesome Tenantwas removedrequest-property-default-value-removed
- ▲