API Keys

Update API key inactivity interval.

Allows admins to update the inactivity interval of an API key (either set a new inactivity interval or remove one). The inactivity interval is the number of days a key can remain unused (no activity) before it becomes invalid.

patch/admin/api_keys/inactivity_interval/{key_id}

Request

Path parameters

key_idstring required

Id of the key to update.

Request body

inactivity_intervalinteger

The number of days the key can be inactive for (not used) before it becomes invalid. Do not include if you would like to remove the inactivity interval of a key.

Example request

{
  "inactivity_interval": 60
}

Response

Successful operation

Changes

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