Delete subscription

Delete a subscription from a DriveItem.

After deleting the subscription additional notifications will not be delivered for this subscription.


One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Files.Read, Files.ReadWrite, Files.Read.All, Files.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All
Delegated (personal Microsoft account) Files.Read, Files.ReadWrite, Files.Read.All, Files.ReadWrite.All
Application Files.Read.All, Files.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All

HTTP request

DELETE /subscriptions/{id}


If successful, this method returns a 204 No Content response code.



DELETE /subscriptions/{id}


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.