Developer Documentation (API)
Unsubscription endpoint
POST or DELETE Request
Endpoint URL https://veski.leikbreytir.is/api/hook/unsubscribe/
Purpose
Deletes an existing subscription.
Required input parameters
- subscription_url – the subscription URL of the subscription you want to delete.
- target_url – the target URL of the subscription you want to delete.
Returned values
On success HTTP status 200 is returned otherwhise a appropriate status code that represents the error. If status 200 is returned you won’t receive notifications anymore.
Example payload:
{
"subscription_url": "https://yourdomain.com/hooks/standard/your
-individual-hook-id/",
"target_url": "https://yourdomain.com/hooks/standard/your
-individual-hook-id/"
}