Deactivate webhook
less than a minute
PUT
Use this endpoint to deactivate a webhook. Deactivated webhooks don’t receive events from CertCentral, but they remain in your account should you decide to activate them again later.https://www.digicert.com/services/v2/webhook/{{webhook_id}}/deactivate
Example requests and responses
cURL
curl --request PUT 'https://www.digicert.com/services/v2/webhook/{{webhook_id}}/deactivate' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json'
204 No Content
// No content
Path parameters
| Name | Opt/Req | Type | Description |
|---|---|---|---|
| webhook_id | required | number | ID of the webhook to deactivate. |
Error cases
| Status | Code | Description |
|---|---|---|
| 404 | not_found | webhook |
| 400 | webhook_invalid_action | The webhook cannot be activated/deactivated. Make sure you have completed the verification challenge and try again. |
Was this page helpful?
Provide feedback