Skip to main content
PATCH
Update 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
name
string
Required string length: 1 - 80
active
boolean
scopes
enum<string>[]

A key can only hand out scopes it holds itself (execute counts as holding read)

Minimum array length: 1
Available options:
read,
ingest,
execute,
approve,
keys
expires_at
string<date-time> | null

When the key stops working: a date-time (not a bare date) at least one minute and at most five years from now; null for a key that does not expire

daily_limit
integer
Required range: 1 <= x <= 10000

Response

OK

key
object
required
request_id
string
required

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