Deployment Tokens
Rotate a deployment token, invalidating its old secret and issuing a new one
Changed onpost/projects/{project_id}/deployment-tokens/{token_id}/rotate
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
project_idinteger required
Project ID
token_idinteger required
Deployment token ID
Response
Deployment token rotated successfully; the response contains the new plaintext token, shown only once
Example response
{
"created_at": "2024-01-01T00:00:00Z",
"expires_at": "2024-12-31T23:59:59Z"
}Changes
- info
endpoint added
- info