Rotate a Consent runtime key
Changed onDirectly verifies tenant and project ownership, then atomically rerolls the key with its existing configuration. overlapSeconds is required, from 0 to 86400. Zero expires the old secret immediately; positive values allow deployment overlap. The replacement secret is returned once. Disabled or expired keys cannot be rotated. Do not retry blindly after an uncertain response. A current Consent runtime is required. Requires consent.keys.write, projects.read and projects.write, with an admin or owner role. Subject to rollout-agent-access-writes and allow-public-agent-writes. Organization API keys cannot call this operation.
Request
- Base URLhttps://api.inth.com
- URLhttps://api.inth.com/v1/projects/{projectId}/consent/runtime-keys/{keyId}/rotate
- AuthHTTP bearer
Path parameters
Project ID returned by list_projects. Scoped to the caller's current memberships.
Key ID from runtime-key metadata. Do not pass the secret token.
Request body
Response
Success
Changes
- info
endpoint added
- info