For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
Delete Subscription (DELETE)
Unsubscribes the device from the tag by using the subscription identifier. This method deletes neither the device registration nor the tag.
Roles
Users in the following roles are authorized to perform this operation:
- mfpadmin
- mfpdeployer
Method
DELETE
Path
/management-apis/2.0/runtimes/runtime-name/notifications/applications/application-name/subscriptions/subscription-id
Example
https://www.example.com/mfpadmin/management-apis/2.0/runtimes/myruntime/notifications/applications/myapplication/subscriptions/1
Path Parameters
- runtime-name
- The name of the runtime. This is the context root of the runtime web application, without the leading slash.
- application-name
- The name of the application.
- subscription-id
- The subscription id of the application register with Push
Produces
application/json, application/xml, text/xml
Errors
400The request was not understood by the push server.403
The user is not authorized to call this service.404
The corresponding runtime or application is not found or not running.500
An internal error occurred.
Parent topic: REST API for the MobileFirst Server administration service