Mark a pass voided

URL
https://app.passcreator.com/api/pass/{pass-uid}
HTTP-Method
PUT
Purpose
Mark a pass voided or not. This is e.g. useful, if an event ticket has been used. If a pass is voided the barcode that is shown on the pass will be greyed out on the users’ device.
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:

  1. {
  2. "voided": true
  3. }