curl --request POST \
--url https://api.example.com/v1/api-tokens \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"token": "<string>",
"created_at": 123,
"name": "<string>",
"token_id": "<string>"
}curl --request POST \
--url https://api.example.com/v1/api-tokens \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"token": "<string>",
"created_at": 123,
"name": "<string>",
"token_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.