Projects
Projects

Rotate Read Token

Rotate a read token: expire the existing token and create a new one.

The old token is immediately expired (expires_at set to now) and a new token is created in a single atomic operation. Returns the newly created token.

post/v1/projects/{project_id}/read-tokens/{token_id}/rotate/

Request

Path parameters

token_idstring uuid required
project_idstring uuid required

Response

Successful Response

idstring uuid required
project_idstring uuid required
created_atstring date-time required
descriptionstring nullable required
expires_atstring date-time nullable required
tokenstring required

Changes

No recorded changes to this operation across all 1 revision of this API.