DELETE /events/notifications/<pusher_type>/subscriptions/<subscription_ID>

Use this DELETE method to delete a specific subscription.

Note: This API requires Lenovo XClarity Administrator v1.3.0 or later.

Authentication

Authentication with user name and password is required.

Request URL

DELETE https://<management_server_IP>/events/notifications/<pusher_type>/subscriptions/<subscription_ID>
where
  • <pusher_type> is the type of push notification service. This can be one of the following values.

    • AndroidPusher. Google device push service

    • iOSPusher. Apple device push service

    • WebSocketPusher. WebSocket service

    Tip:
    • Because the subscription ID is unique, specifying the type of push notification service is optional.

    • You can delete the specified subscription even if it does not match the specified type of push notification service.

  • <subscription_ID> is the UID of the subscription to be retrieved. To obtain the subscription UID, use the GET /events/notifications/subscriptions method.

Query parameters

None

Request body

None

Response codes

Code Description
200 OK
400 Bad request
401 Unauthorized.
500 Internal server error

Response body

None