Delete page

Delete a OneNote page.

Prerequisites

One of the following scopes is required to execute this API:
Notes.ReadWrite.CreatedByApp, Notes.ReadWrite, or Notes.ReadWrite.All

HTTP request

DELETE /me/notes/pages/{id}
DELETE /users/{id | userPrincipalName}/notes/pages/{id}
DELETE /groups/{id}/notes/pages/{id}

Request headers

Name Type Description
Authorization string Bearer <token> A valid OAuth token provided to the app based on the user credentials and the user having authorized access.

Response

If successful, this method returns a 204 No Content response code. It does not return anything in the response body.

Example

Request

Here is an example of the request.

DELETE https://graph.microsoft.com/beta/me/notes/pages/{id}
Response

Here is an example of the response.

HTTP/1.1 204 No Content