Auth

Create an API token.

Changed on

Issues a new long-lived bearer token for the authenticated user, suitable for scripting and CLI access in place of an interactive session in the route organization.

The plaintext token value is returned only in this creation response and cannot be retrieved again; only metadata is persisted for later list and delete operations, so the caller must capture the value now.

post/api/v1/orgs/{orgId}/tokens

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

orgIdstring required

Request body

displayNamestring required

User-facing token name shown in management UI.

Response

OK

Changes

    • breaking

      the request property's max was decreased to 730.00

    • breaking

      the request property's min was increased to 30.00