curl --request POST \
--url https://{controlPlaneURL}/api/svc/v1/personal-access-tokens \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'
{
"token": "<string>"
}
Create Personal Access Token
curl --request POST \
--url https://{controlPlaneURL}/api/svc/v1/personal-access-tokens \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'
{
"token": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Personal Access Token created successfully and returned
The response is of type object
.
Was this page helpful?