Skip to main content

Delete subscriptions

You must ensure that you have a hotel level access token to authenticate requests related to subscriptions. More information about hotel access tokens.

Delete one subscription by ID​

You must specify the ID of the subcription which can be found by querying all subscriptions. More information about querying subscriptions.

mutation deleteMarketplaceAppSubscription {
deleteMarketplaceAppSubscription(
where: { id: "69ba68fa-a480-4fd4-bf25-049e5182155f" }
)
}

Response

{
"data": {
"deleteMarketplaceAppSubscription": true
}
}

Delete all subscriptions​

This request will delete all subscriptions for your app with the specified hotelId in the access token.

mutation deleteMarketplaceAppSubscriptions {
deleteMarketplaceAppSubscriptions
}

Response

{
"data": {
"deleteMarketplaceAppSubscriptions": true
}
}