me

Rotate My Key

Rotate a key. Optional body {"grace_period_hours": N} keeps the old key working for N hours (max 168) before it expires — default 0 revokes it immediately (task #618).

post/v1/me/keys/{key_id}/rotate

Request

  • Base URL: https://api.ctindex.io
  • URL: https://api.ctindex.io/v1/me/keys/{key_id}/rotate
  • Auth: none declared

Path parameters

key_idstring uuid required

Cookies

ctix_sessionstring nullable

Request body

grace_period_hoursinteger

Hours the OLD key keeps working after rotation. 0 (default) revokes it immediately; max 168 (7 days).

Response

Successful Response

idstring uuid required
keystring required
labelstring nullable
tierstring required
commercial_use_allowedboolean
created_atstring date-time nullable
example_callstring nullable

Copy-paste curl against a known-indexed domain (GH #706). Host is taken from EXAMPLE_CALL_DOMAIN (allow-listed); substitute $CERTINDEX_API_KEY.

old_key_idstring uuid nullable
old_key_revokedboolean
old_key_expires_atstring date-time nullable

Changes

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