Account

Rotate a key: a new key with the same label, kind and organization (shown once); the old key keeps working for grace_second (default 86400 = 24 h, max 30 days, 0 = at once), then is refused with 401

post/api/v1/keys/{id}/rotate

Request

  • Base URL: https://philforms.com
  • URL: https://philforms.com/api/v1/keys/{id}/rotate
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

grace_secondinteger

Response

{ key, api_key, rotated: { id, prefix, expires_at }, note }

Changes

No recorded changes to this operation across all 1 revision of this API.