Skip to main content
POST
Error
This endpoint mints a tenant API token for the account’s provisioned partner admin. If that user is missing or archived, the oldest active admin is used. The insert and audit event are atomic.
201
The raw token is shown only in the first response and exact idempotent replays. Store it securely. The token authenticates the ordinary tenant API, not the Partner API.

Authorizations

Authorization
string
header
required

Operator-issued partner key. Accepted only under /api/partner/v1.

Headers

Idempotency-Key
string
Maximum string length: 255

Path Parameters

id
integer
required

Body

application/json

The body is of type object.

Response

Tenant API token minted and audited

account
object
required
admin
object
required
api_token
string
required

Tenant API token returned only once and on exact idempotent replay.