API Keys

Update API key expiry.

Allows admins to update the expiration of an API key (either set a new expiry or remove one).

patch/admin/api_keys/expire/{key_id}

Request

Path parameters

key_idstring required

Id of the key to update.

Request body

expires_instring

Interval of when the API key should expire. Do not include if you would like to remove the expiry of a key.

Example request

{
  "expires_in": "30 days"
}

Response

Successful operation

Changes

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