API Test Keys

Delete a Webhook

DELETE
/v2/accounts/:account_id/webhooks/:webhook_id

Click to copy

Use this endpoint to delete the webhook of a sub-merchant's account generated by Razorpay. Know about the

for this API.

Is this page helpful?

Curl

change language

change language

1
curl -u <YOUR_KEY_ID>:<YOUR_KEY_SECRET> \
2
-X DELETE https://api.razorpay.com/v2/accounts/acc_H3kYHQ635sBwXG/webhooks/HK890egfiItP3H \

Success

1
{
2
[]
3
}
Path Parameters
account_id

*

string

The unique identifier of a sub-merchant account generated by Razorpay. For example, acc_H3kYHQ635sBwXG.

webhook_id

*

string

The unique identifier of the webhook whose details are to be deleted. For example, HK890egfiItP3H

Delete a Webhook

DELETE
/v2/accounts/:account_id/webhooks/:webhook_id

Click to copy

Use this endpoint to delete the webhook of a sub-merchant's account generated by Razorpay. Know about the

for this API.

Is this page helpful?

Path Parameters
account_id

*

string

The unique identifier of a sub-merchant account generated by Razorpay. For example, acc_H3kYHQ635sBwXG.

webhook_id

*

string

The unique identifier of the webhook whose details are to be deleted. For example, HK890egfiItP3H

Curl

change language

change language

1
curl -u <YOUR_KEY_ID>:<YOUR_KEY_SECRET> \
2
-X DELETE https://api.razorpay.com/v2/accounts/acc_H3kYHQ635sBwXG/webhooks/HK890egfiItP3H \

Success

1
{
2
[]
3
}