v13

OpenAPI 3.1.02026-08-033122950.3 KB
service-accounts

Rotate service-account token

Invalidate an existing token and generate a new one with the same permissions. The old token will stop working immediately.

post/api/organizations/{name}/service-accounts/{serviceAccountId}/tokens/{tokenId}/rotate

Path parameters

namestring required
serviceAccountIdstring required
tokenIdstring required

Response

Rotated token

tokenstring required

The new access token