DELETE
/
v2
/
api-keys
/
{id}
curl --request DELETE \
  --url https://sandbox.hyperswitch.io/v2/api-keys/{id} \
  --header 'api-key: <api-key>'
{
  "merchant_id": "y3oqhf46pyzuxjbcn2giaqnb44",
  "key_id": "5hEEqkgJUyuxgSKGArHA4mWSnX",
  "revoked": "true"
}

Authorizations

api-key
string
header
required

Admin API keys allow you to perform some privileged actions such as creating a merchant account and Connector account.

Path Parameters

id
string
required

The unique identifier for the API Key

Response

200
application/json

API Key revoked

The response body for revoking an API Key.