Update API key

http
PATCH /api-keys/{api_key_id}

Change an API key's name or expiry.

Parameters

NameInRequiredDescription
api_key_idpathYesAPI key ID.

Request body

FieldTypeRequiredDescription
namestring
expires_atstring,null

Responses

StatusDescription
200API key updated successfully
400Bad request
401Unauthorized
403Forbidden
404API key not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.