ServiceAccount

Create new API Token for a specific service account

post/api/v1/service-accounts/{id}/api-tokens

Request

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

Path parameters

idstring required

The user id

Request body

namestring required
descriptionstring
maxAgestring
extendedboolean

Example request

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

Response

createApiTokensForServiceAccount 200 response

object required

Changes

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