Deactivate a webhook
1 min
POST
https://api.campaign.episerver.net/rest/{clientId}/webhooks/{webhookId}/deactivate
clientIdinteger<int64>Client ID
webhookIdinteger<int64>Webhook ID
acceptstringGenerated from available response content types
200The webhook was deactivated successfully.
400The webhook is not in status "activated".
404The webhook could not be found. Ensure that the required parameters such as "webhookId" are correct and the webhook exists.
409The webhook ID is not assigned to the current client.
curl --request POST \
--url https://api.campaign.episerver.net/rest/{clientId}/webhooks/{webhookId}/deactivate \
--header 'accept: application/json'