POST
/
v1
/
api-keys
/
{key_id}
/
revoke

Path Parameters

key_id
string
required

Response

200 - application/json
_id
string
required

Unique identifier for this API key in the database

created_at
string
required

Timestamp when this API key was created

created_by_user_id
string
required

Identifier of the user who created this API key

expiration_date
string
required

Timestamp when this API key will expire and become invalid

name
string
required

The descriptive name given to this API key

permissions
string[]
required

List of permission scopes granted to this API key

revoked
boolean
default:
false

Indicates if this API key has been manually revoked before its expiration date