--- title: "Deactivate webhook" source_url: https://dev.digicert.com/certcentral-apis/services-api/webhooks/deactivate-webhook.html api_method: PUT api_endpoint: "/services/v2/webhook/{{webhook_id}}/deactivate" api_url: "https://www.digicert.com/services/v2/webhook/{{webhook_id}}/deactivate" --- **PUT** `https://www.digicert.com/services/v2/webhook/{{webhook_id}}/deactivate` 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. ## Example requests and responses ## cURL ```bash 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 ```console // 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 A webhook with the given ID does not exist.
400 webhook_invalid_action The webhook cannot be activated/deactivated. Make sure you have completed the verification challenge and try again.