Skip to main content
POST
Create a service account token

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The service account's ID.

Body

application/json
name
string
required

The token's name, unique among the service account's tokens.

Required string length: 1 - 150
tags
string[]

Up to 10 labels for grouping and filtering tokens, each up to 150 characters.

Maximum array length: 10
Maximum string length: 150
expires_at
string<date-time> | null

When the token expires, in the future. Leave it out for a token that never expires.

Response

The new token, with its value.

data
object
required