Skip to main content
DELETE
/
integrators
/
{id}
/
api-keys
/
{keyId}
Revoke an API key
curl --request DELETE \
  --url http://localhost:4000/v1/integrators/{id}/api-keys/{keyId} \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "message": "<string>",
  "statusCode": 123,
  "timestamp": "<string>",
  "data": {
    "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "name": "Production API Key",
    "message": "API key revoked successfully",
    "revokedAt": "2025-01-11T12:00:00.000Z"
  },
  "path": "<string>"
}

Authorizations

Authorization
string
header
required

Use this format: ApiKey <your_api_key>

Path Parameters

id
string
required

Integrator ID

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

keyId
string
required

API Key ID to revoke

Example:

"a1b2c3d4-e5f6-4a5b-8c9d-0e1f2a3b4c5d"

Response

success
boolean
required
message
string
required
statusCode
number
required
timestamp
string
required
data
object
path
string