curl -i -X DELETE \
-H "QB-Token: 37d3a10a1843ac780cb6f2c683bddad2b0012bba" \
https://api.quickblox.com/subscriptions/56328256.json
Empty body
{
"code": null,
"message": "Your access to the device_subscription has been restricted, because you are not the owner."
}
{
"code": null,
"message": "Couldn't find DeviceSubscription with 'id'=123"
}
Push Notifications
Delete Subscription
Remove a subscription by the identifier.
DELETE
/
subscriptions
/
{subscription_id}
.json
curl -i -X DELETE \
-H "QB-Token: 37d3a10a1843ac780cb6f2c683bddad2b0012bba" \
https://api.quickblox.com/subscriptions/56328256.json
Empty body
{
"code": null,
"message": "Your access to the device_subscription has been restricted, because you are not the owner."
}
{
"code": null,
"message": "Couldn't find DeviceSubscription with 'id'=123"
}
Path Parameters
integer
required
ID of the subscription.
Headers
string
required
A user or application session token. See Authentication page to learn more about session tokens. Must be used either QB-Token or Authorization.
Responses
curl -i -X DELETE \
-H "QB-Token: 37d3a10a1843ac780cb6f2c683bddad2b0012bba" \
https://api.quickblox.com/subscriptions/56328256.json
Empty body
{
"code": null,
"message": "Your access to the device_subscription has been restricted, because you are not the owner."
}
{
"code": null,
"message": "Couldn't find DeviceSubscription with 'id'=123"
}
Was this page helpful?