Skip to main content
PUT
put_tenant

Authorizations

X-API-Key
string
header
required

Path Parameters

external_ref
string
required

The partner's own reference for the tenant, such as its account id.

Required string length: 1 - 128
Pattern: ^\S(.*\S)?$

Body

application/json

Create a tenant, or update the one with this external_ref. Omitted fields stay as they are.

data_retention
enum<string> | null

How the tenant's document operations retain data: short or zero_retention. Omit it when creating to inherit your own setting, or when updating to leave it unchanged.

Available options:
short,
zero_retention
disabled
boolean | null

True disables the tenant (its requests answer tenant_disabled); false re-enables it.

display_name
string | null

Human-readable name of the tenant.

Required string length: 1 - 128
limits
TenantLimitsRequest · object | null

Limits to set on the tenant.

workspace_storage_limit_bytes
integer | null

Allowance for current source-file bytes across this tenant’s managed workspaces. Omit to preserve the allowance; null removes it. Enforcement requires WORKSPACE_STORAGE_LIMITS_ENABLED.

Required range: 0 < x <= 9223372036854776000
zero_retention_result_hold_seconds
enum<integer> | null

Opt a zero_retention tenant in to keeping each result readable for 24 hours (86400) after its job finishes, or out (0). It starts at 0: no held copy and the standard short delivery window. It has effect only while the tenant is zero_retention and the deployment enables result holds, and a job that delivers to customer storage is never held. A job keeps the value in force when it was accepted. Omit it to leave it unchanged.

Available options:
0,
86400

Response

Successful Response

One of the partner's child tenants. Send X-NDI-Tenant: ext:<external_ref> to act for it.

created_at
string<date-time>
required

When the tenant was created.

data_retention
enum<string>
required

The data-retention setting in force for the tenant. Existing zero_retention tenants keep their policy when new Zero retention provisioning is disabled.

Available options:
short,
zero_retention
disabled
boolean
required

Whether the tenant is disabled. Its data is kept.

display_name
string | null
required

Human-readable name of the tenant.

external_ref
string
required

The partner's own reference for the tenant, unique per partner.

id
string<uuid>
required

NDI's id for the tenant; X-NDI-Tenant accepts it too.

limits
TenantLimits · object
required

The limits in force for the tenant.

zero_retention_result_hold_seconds
enum<integer>
required

The result hold in force for the tenant's new jobs: 86400 if it opted in, else 0.

Available options:
0,
86400