Skip to main content
POST
cURL

Autorisierungen

Authorization
string
header
erforderlich

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

Body

The new ApiToken resource

description
string | null

Description of the API token

Required string length: 3 - 255
Beispiel:

"My API token"

expiresAt
string<date-time> | null

Date and time when the API token expires. If null, the token never expires.

Beispiel:

"2021-01-01T00:00:00+00:00"

Antwort

ApiToken resource created

id
string
Beispiel:

"A1B2C3D4E5F6G7H8I9J0"

token
string
Beispiel:

"api_A1B2C3D4E5F6G7H8I9J0"

description
string | null
Beispiel:

"My API token"

expiresAt
string<date-time> | null
Beispiel:

"2021-01-01T00:00:00+00:00"