Disable API key
PUT /v2/identity/apikey/{id}/disable
PUT
/v2/identity/apikey/{id}/disable
Disable an API key by ID.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
The ID of the API key
Example
f52b1f9e-b9a6-4248-afc5-d3ae358e723a
Header Parameters
Section titled “Header Parameters ” X-API-Key
string
API Key
X-API-Secret
string
API Secret
Responses
Section titled “ Responses ”The resource has been successfully updated.
object
id
required
The unique identifier for the API key
string
key
required
The API key used for authentication
string
secret
required
The API key secret hash
string
description
required
The API key secret hash
string
status
required
The status of the API key
string
createdAt
required
The timestamp of the API key creation
string
lastUsedAt
required
The timestamp of the API key last used
string
expiresAt
required
The timestamp of the API key expiration
string