Skip to content
This repository has been archived by the owner on Dec 2, 2017. It is now read-only.

Latest commit

 

History

History
49 lines (36 loc) · 1.19 KB

delete-subscription.md

File metadata and controls

49 lines (36 loc) · 1.19 KB

Deleting a subscription

Remove a subscription from an item. Note that after deleting the subscription the subscription will no longer exist and additional notifications will not be delivered.

Prerequisites

To modify a subscription the app must have read-write access to the item the subscription exists on.

HTTP request

DELETE /drive/items/{item-id}/subscriptions/{id}
DELETE /drive/root:/{item-path}:/subscriptions/{id}

Example

DELETE /drive/items/{item-id}/subscriptions/{id}

Response

If the subscription is found and successfully deleted, then a 204 No Content response is returned:

HTTP/1.1 204 No Content

Error responses

See Error Responses for more info about how errors are returned.