Create a tenant
Trillet OEM API: Creates a tenant for one of your customers.
Creates a tenant for one of your customers. Needs tenants:write. Idempotency-Key is required.
If the workspace is created but its setup does not complete, the tenant is returned with
status provisioning_failed.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Header Parameters
1 to 255 printable ASCII characters, no spaces. A retry with the same key and request returns the stored response for 24 hours instead of running again.
>= 1, <= 255Body
externalIdstringrequiredYour ID for this customer. No leading or trailing spaces. Unique among your live tenants.
>= 1, <= 128namestringrequired>= 1, <= 100region"us" | "au"Defaults to your partner account's region. Decides where call data is stored.
"us" | "au"metadataobjectUp to 8 KB of your own JSON data.
limitsobjectlimits.monthlySpendCapnumber | nullMonthly spend cap in USD. null means no cap. 0 blocks all paid work.
x >= 0Response
The new tenant.
objectstringrequiredidstringrequiredUse it in paths and as x-workspace-id on standard endpoints.
^[a-fA-F0-9]{24}$externalIdstringrequiredYour ID for this customer.
namestringrequiredstatus"active" | "suspended" | "deleted" | "provisioning_failed"required"active" | "suspended" | "deleted" | "provisioning_failed"region"us" | "au"required"us" | "au"metadataobjectrequiredlimitsobjectrequiredlimits.monthlySpendCapnumber | nullMonthly spend cap in USD. null means no cap. 0 blocks all paid work.
x >= 0suspendedAtstring | null<date-time>suspendedReasonstring | nulldeletedAtstring | null<date-time>createdAtstring<date-time>requiredLast updated on