DELETE
/
subscription_ondelete_v2
/
Delete existing subscription to a webhook event
curl --request DELETE \
  --url https://api.ekhodealer.com/subscription_ondelete_v2/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "oemKey": "<string>",
  "brandKey": "<string>",
  "subscriptionId": "<string>"
}'
{
  "success": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
oemKey
string

Key to identify and authenticate the OEM admin.

brandKey
string

The brand key of the OEM.

subscriptionId
string

The ID of the subscription to be deleted.

Response

Successfully deleted the subscription to a webhook event.

success
string

Success message