cURL
curl --request POST \ --url https://{controlPlaneURL}/api/svc/v1/personal-access-tokens \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "expirationDate": "2025-09-01T12:00", "accountName": "<string>" } '
{ "token": "<string>" }
Create Personal Access Token
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
serviceaccount name
Expiration date in ISO format (e.g. 2025-08-01T12:00)
"2025-09-01T12:00"
Account name that owns this PAT
Personal Access Token created successfully and returned
Personal Access Token
Was this page helpful?