Rotate an API key
Replace a key with a new one carrying the same name, scopes and limits. The new plaintext is in the response and nowhere else. With graceSeconds, the old key keeps working for that long so a fleet can pick the new value up without an outage; with 0 it dies now. A grace window never extends a key that was already expiring sooner.
Request
- Base URL: https://api.gogoscreen.com/api/v1
- URL: https://api.gogoscreen.com/api/v1/keys/{id}/rotate
- Auth: HTTP bearer
Path parameters
The resource id, from a create answer or the matching list.
Headers
1–128 characters, unique to this request. A retry with the same key and the same body returns the STORED response with Idempotent-Replayed: true; the same key with a different body is 409 idempotency_conflict; a duplicate still in flight is 409 idempotency_in_progress. Claims expire after 24 hours.
Request body
Response
Rotate an API key
Changes
No recorded changes to this operation across all 1 revision of this API.