DELETE
/
api_keys
/
merchant_id)
/
{key_id}
curl --request DELETE \
  --url 'https://sandbox.hyperswitch.io/api_keys/%7Bmerchant_id)/{key_id}' \
  --header 'api-key: <api-key>'
{
  "merchant_id": "y3oqhf46pyzuxjbcn2giaqnb44",
  "key_id": "5hEEqkgJUyuxgSKGArHA4mWSnX",
  "revoked": "true"
}

Authorizations

api-key
string
headerrequired

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

Path Parameters

merchant_id
string
required

The unique identifier for the merchant account

key_id
string
required

The unique identifier for the API Key

Response

200 - application/json
merchant_id
string
required

The identifier for the Merchant Account.

key_id
string
required

The identifier for the API Key.

revoked
boolean
required

Indicates whether the API key was revoked or not.