Unregister mobile push routes

DELETE https://z.u1v.ru/api/v1/mobile_push/routes

Deactivate all push routes belonging to one application device.

Usage examples

The -u line implements HTTP Basic authentication. See the Authorization header documentation for how to get those credentials for Zulip users and bots.

curl -sSX DELETE https://z.u1v.ru/api/v1/mobile_push/routes \
    -u EMAIL_ADDRESS:API_KEY \
    --data-urlencode device_instance_id=device-1

Parameters

device_instance_id string required

Example: "device-1"

Stable application device identifier.


Response

Example response(s)

Successful response from a UCS extension endpoint. Endpoint-specific fields are returned alongside the standard Zulip success envelope.

{
    "msg": "",
    "result": "success"
}