cURL
curl --request POST \ --url https://api.example.com/api/v1/access-tokens \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "expiresAt": "2023-11-07T05:31:56Z" } '
{ "token": { "name": "<string>", "expiresAt": "2023-11-07T05:31:56Z", "creatorId": "<string>", "id": "<string>", "createdAt": "2023-11-07T05:31:56Z" }, "tokenString": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 - 128
Access token created successfully
Show child attributes
Was this page helpful?