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
Mark a pass voided
PUT Request
Endpoint URL https://veski.leikbreytir.is/api/pass/{pass-uid}
Purpose
Returns a list of all pass-templates that have been created for your account.
Required input parameters
- HTTP Authorization Header that contains your API key
- JSON Payload including the voided parameter that indicates if a pass is voided/invalid (true) or not (false)
Returned values
If the pass has been updated successfully HTTP status 204 is returned.
Example input:
{
"voided": true
}