cURL
curl --request PATCH \ --url http://api/v1/user/me/personal-access-tokens/{personalAccessTokenUuid}/rotate \ --header 'Content-Type: application/json' \ --data ' { "expiresAt": "2023-11-07T05:31:56Z" } '
{ "results": { "description": "<string>", "expiresAt": "2023-11-07T05:31:56Z", "rotatedAt": "2023-11-07T05:31:56Z", "lastUsedAt": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "uuid": "<string>", "token": "<string>" }, "status": "ok" }
Rotate personal access token
Success
Show child attributes
ok
Was this page helpful?