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
- Base URLhttps://logfire-api.pydantic.dev/api
- AuthOAuth 2Authorization codeapi/oauth/authorizeToken URL/api/oauth/tokenScopesproject:read_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
token_idstring uuid required
project_idstring uuid required
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.