Rotate access token
Generates a new raw token for an existing access token and invalidates the previous raw token immediately. The token id, name, description, permission, will_expire, and expired_at values are preserved.
Requires auth_enabled=true and an admin access token or admin JWT. Expired tokens cannot be rotated.
Documentation Index
Fetch the complete documentation index at: https://docs.vectoraidb.actian.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Admin JWT obtained from the login endpoint.
Headers
Admin JWT or admin access token. Format Bearer <admin-jwt-or-access-token>.
Path Parameters
The unique identifier of the access token to rotate.
Response
Token rotated successfully. Returns the new raw token.
Unique identifier for the access token.
Human-readable name for the token.
Description of the token's intended use.
The new raw access token value. Store this securely, as it cannot be retrieved after rotation.
Original creation timestamp, in RFC 3339 UTC format.
Expiration timestamp. null when will_expire is false.
Whether the token has an expiration date.
Comma-separated permission names assigned to the token.