Delete endpoint
delete
/v2/projects/{ref}/webhooks/endpoints/{id}Delete the endpoint including all events and deliveries
Any in-flight webhooks will result in a no-op.
Path parameters
- refRequiredstring
Project ref
- idRequiredstring
Identifier of an endpoint (UUID v7).
Response codes
- 200
- 400
- 401
- 403
- 404
- 408
- 429
- 500
Response (200)
{ "data": { "type": "endpoint", "id": "00000000-0000-0000-0000-000000000000", "attributes": { "id": "00000000-0000-0000-0000-000000000000", "url": "https://mydomain.com/path/to/handler", "enabled": true, "description": "lorem", "event_types": [ { "type": "v1.project.paused" } ], "custom_headers": { "Authorization": "Bearer example_token" }, "created_by": "00000000-0000-0000-0000-000000000000", "created_at": "4404-02-29T04:24Z" } }}