Delete subscription

Delete a subscription.

Prerequisites

One of the following scopes, depending on the target resource, are required to execute this API: Mail.Read, Calendars.Read, Contacts.Read, Group.Read.All, Files.ReadWrite, or Files.ReadWrite.All

HTTP request

DELETE /subscriptions/{id}

Request headers

Name Type Description
Authorization string Bearer . Required.

Request body

Do not supply a request body for this method.

Response

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

Example

Request

Here is an example of the request.

DELETE https://graph.microsoft.com/beta/subscriptions/{id}
Response

Here is an example of the response.

HTTP/1.1 204 No Content