Skip to main content
POST
Rotate API key

Authorizations

Authorization
string
header
required

An InsightChain API key: ic_live_... for your organization, ic_test_... for its sandbox

Path Parameters

id
string<uuid>
required

Body

application/json
overlap_seconds
integer
default:0

How long the old secret keeps working. 0, the default: it stops now

Required range: 0 <= x <= 604800

Response

OK

key
object
required
secret
string
required

The key's secret. Shown in this response only; store it now

previous_secret_expires_at
string<date-time> | null
required

Until when the previous secret still works; null: it stopped now

request_id
string
required

Quote this when asking about the request; also the X-Request-ID header