Getnet DocsGetnet Docs

Unsubscribe from a webhook event

DELETE/dpm/webhooks/v1/subscriptions/{event_name}

Remove a subscription and stop receiving webhook notifications for the specified event.

Path Parameters

event_namestringrequired

Subscription identification

Response

Subscription deleted

statusstring
messagestring
datastring

Not Found

Internal server error

messagestring

Brief summary of the reported issue

detailsobject[]

Array of errors. The object type varies depending on the error context.

Request
curl -X DELETE "https://api.pre.globalgetnet.com/dpm/webhooks/v1/subscriptions/<event_name>"
Response
{
  "status": "success",
  "message": "Operation completed successfully",
  "data": ""
}