Unregister a device to receive push notifications

DELETE /wallet/apple-web-service/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}

Path parameters

  • deviceLibraryIdentifier string Required

    The device library identifier

  • passTypeIdentifier string Required

    The pass type identifier

  • serialNumber string Required

    The serial number of the pass

Responses

  • 200

    Sucessfully unregistered the device

  • 401 application/json

    Unauthorized.

    Hide response attribute Show response attribute object
    • message string
  • 403

    Forbidden - You don't have permission to access this route

DELETE /wallet/apple-web-service/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}
curl \
 --request DELETE 'https://domain.tld/api/v2/wallet/apple-web-service/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (401)
{
  "message": "Unauthorized."
}