Unregisters a device token.

Request

POST https://api.nzpayroll.co.nz/api/v2/ess/devicetoken/unregister

Request body

The request body takes a complete DeviceTokenModel resource, containing the following writable properties:

{
    "platform": "string",
    "token": "string"
}

Properties

Name Type Description
platform string MobilePlatform

Possible values are:

  • iOS
  • Android
token string String

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK