Update webhook endpoint
PUT https://www.digicert.com/services/v2/webhook/{{webhook_id}}
Use this endpoint to update the endpoint for a CertCentral webhook.
Updated endpoints must be verified before they receive events. After you update an endpoint, complete a verification challenge and activate the webhook.
Example requests and responses
Path parameters
Name | Opt/Req | Type | Description |
---|---|---|---|
webhook_id | required | number | ID of the webhook to update. |
Request parameters
Name | Opt/Req | Type | Description |
---|---|---|---|
endpoint | required | string | Endpoint URL where your webhook listener is hosted. Must begin with https://. Learn more: Webhook endpoint requirements |
Error cases
Status | Code | Description |
---|---|---|
400 | webhook_invalid_endpoint | The provided endpoint is not valid. Make sure the endpoint begins with https:// and try again. |
400 | webhook_configured_already | A webhook already exists in the CertCentral account. To change the endpoint URL where you listen for webhook events, use the Update webhook endpoint API. |
400 | webhook_endpoint_error | The provided endpoint is not responding or accepting requests. Make sure your webhook listener is configured correctly and try again. For more information, see Webhook endpoint requirements. |