Delete page from the site pages list of a site

Namespace: microsoft.graph


APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Removes a sitePage from the site pages list in a site.


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

Note: To delete an item, the user must have granted the application write access to the item to be deleted.

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

HTTP request

DELETE /sites/{site-id}/pages/{page-id}

Optional request headers

Name Value Description
if-match etag If this request header is included and the eTag provided does not match the current tag on the item, a 412 Precondition Failed response is returned and the item will not be deleted.

Request body

Do not supply a request body with this method.


If successful, this call returns a 204 No Content response to indicate that the resource was deleted and there was nothing to return.


DELETE /sites/{site-id}/pages/{page-id}
HTTP/1.1 204 No Content