user

create token

post/users/tokens/create

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/users/tokens/create
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Request body

labelstring
expirationstring date-time
scopesstring[]
workspace_idstring
read_onlyboolean

If true, the token is restricted to read-only HTTP methods (GET/HEAD/OPTIONS). Mutating endpoints and job-run actions are rejected with 403, regardless of the scopes attached.

Response

token created

Changes

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