Auths

Create API token for the authenticated user

post/api/v1/me/api-tokens

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/me/api-tokens
  • Auth: one of:
    • HTTP bearer
    • HTTP basic

Request body

namestring required
descriptionstring
maxAgestring
extendedboolean

Example request

{
  "maxAge": "maxAge",
  "name": "name",
  "description": "description",
  "extended": true
}

Response

createApiTokenForCurrentUser 200 response

idstring
namestring
fullTokenstring

Example response

{
  "fullToken": "fullToken",
  "name": "name",
  "id": "id"
}

Changes

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