EasyRoutes API

Unsubscribe webhook

DELETE
/webhooks/{id}

Unsubscribe from a webhook by ID. The ID should be the webhook subscription ID returned when the webhook was created. The response will be empty on success.

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from /authenticate

In: header

Path Parameters

id*string

The ID of the webhook to unsubscribe.

Response Body

application/json

curl -X DELETE "https://example.com/webhooks/sub-123e4567-e89b-12d3-a456-426614174000"
Empty
{  "code": 0,  "message": "string",  "details": [    {      "@type": "string"    }  ]}