Secrets
Rotate secret
Replace the token for the same server_url with compare-and-set on row_version. Idempotency-Key is required. Only new Sessions use the new token.
post/v1/secrets/{secret_id}/rotate
Request
- Base URL: https://api.sandbase.ai
- URL: https://api.sandbase.ai/v1/secrets/{secret_id}/rotate
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Headers
Idempotency-Keystring required
Required. 1-128 characters without leading or trailing whitespace. Reuse the same key and body when retrying.
Request body
Response
Secret
Changes
No recorded changes to this operation across all 1 revision of this API.