API ReferenceEndpoints
Delete an endpoint
Permanently delete an endpoint and stop all its deliveries.
DEL/v1/endpoints/{endpoint_id}
Pending retries for this endpoint are canceled. Past delivery logs stay available until they expire.
Deleting an endpoint can't be undone, and its signing secret is gone for good. To stop deliveries temporarily, pause it instead.
Request
curl -X DELETE https://api.relay.dev/v1/endpoints/ep_2kq8XcV1 \
-H "Authorization: Bearer $RELAY_API_KEY"await relay.endpoints.delete("ep_2kq8XcV1");relay.endpoints.delete("ep_2kq8XcV1")Response
{ "id": "ep_2kq8XcV1", "object": "endpoint", "deleted": true }