Skip to main content

DELETE /events/notifications/{pusher_type}/subscriptions/{subscription_id}/filters/{filter_list}

Use this method to delete one or more event filters from a specific subscription.

If you are logged in as a user with one of the following roles, information that is associated with all subscriptions is returned; otherwise, information associated with subscriptions for only the logged-in user is returned.
  • lxc-admin
  • lxc-supervisor
  • lxc-security-admin
  • lxc-sysmgr

Authentication

Authentication with username and password is required.

Request URL

DELETE https://{management_server_IP}/events/notifications/{pusher_type}/subscriptions/{subscription_ID}/filters/{filter_list}
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 servic
    Tip
    Because the subscription ID is unique, specifying the type of push notification service is optional
  • {subscription_id} is the UID of the subscription to be retrieved. To obtain the subscription UID, use the GET /events/notifications/subscriptions method.

  • {filter_list} is a list of one or more names, separated by a comma, of the event filters to be deleted (for example, All Storage Events,All Switch Events). To obtain the event filter names, use the GET /events/notifications/subscriptions/{subscription_id}/filters method.

Query parameters

None

Request body

None

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
401UnauthorizedThe user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

None