POST
/
api
/
v1
/
access-tokens
{
  "token": {
    "_id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "expiresAt": "2023-11-07T05:31:56Z",
    "creatorId": "<string>"
  },
  "tokenString": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
Required string length: 1 - 128
expiresAt
string | null

Response

201
application/json
Access token created successfully
token
object
required
tokenString
string
required