service-accounts

Mint an API key for a service account.

The plaintext token is returned once in this response and can never be retrieved again.

post/service-accounts/{id}/keys

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/service-accounts/{id}/keys
  • Auth: none declared. Required headers: x-organization-id

Path parameters

idstring required

Headers

x-organization-idstring required

Active organization id (or slug). Required for org-scoped operations; the generated client enforces it at compile time.

Request body

namestring required

Response

Response

tokenstring required

Changes

No recorded changes to this operation across all 50 revisions of this API.