deleteSubscriptions
Deletes one or more subscriptions.
Declaration
Promise< CloudKit.SubscriptionsResponse, CloudKit.CKError > deleteSubscriptions(
CloudKit.Subscription|CloudKit.Subscription[]|String|String[] subscriptions
);Parameters
- subscriptions:
Possible values are:
Type
Description
A subscription in the database to delete.
CloudKit.Subscription[]An array of subscriptions to delete.
StringThe ID of a subscription to delete.
String[]An array of IDs of the subscriptions to delete.
Return Value
A Promise object that resolves to a CloudKit.SubscriptionsResponse object, or rejects to a CKError object.
Discussion
See Modifying Subscriptions (subscriptions/modify) in CloudKit Web Services Reference.