Update Webhook
PATCH/b2b/webhooks/:webhook_id
Update a webhook's enabled status and/or event subscriptions.
Use this endpoint to:
- Enable or disable a webhook without deleting it
- Update which events the webhook is subscribed to
Disabled webhooks will not receive any events until re-enabled.
Note: The webhook URL cannot be updated. To change the URL, delete the webhook and register a new one.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 408
- 409
- 429
- 500
- 503
Webhook updated successfully
Bad Request — the request was malformed or contained invalid parameters. Not retryable.
Unauthorized — authentication failed or credentials are missing/invalid. Not retryable.
Forbidden — the authenticated user does not have permission to perform this action. Not retryable.
Not Found. Error codes:
ENexus:Webhook not found— not retryable
Request Timeout — the request took too long to process. Retryable.
Conflict — the request conflicts with the current state of the resource. Retryable in some cases (see error code).
Too Many Requests — rate limit exceeded. Retryable with backoff.
Internal Server Error — an unexpected error occurred. Generally retryable.
Service Unavailable — the service is temporarily unavailable. Retryable.