Developer Documentation (API)
- Authentication
- PHP Package
- V2 Endpoints
- Pass Templates
- Get a list of templates
- Describe the structure of a pass template
- Create a new template
- Update a template
- Patch a template
- Publish changes of a template
- Get information about fields of a pass-template only
- Schedule a Push Notification
- List scheduled notifications of a template
- Delete a scheduled Push Notification
- Copy a Pass Template
- Delete a Pass Template
- Create an iFrame Integration for a Template
- Create an URL Integration for a Template
- Passes
- REST Hooks
- Validating passes
- Deprecated endpoints
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/"
}