Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 2.2 KB

File metadata and controls

68 lines (46 loc) · 2.2 KB
author sangle7
description Publish the latest version of a sitePage resource, which makes the version of the page available to all users.
title sitePage: publish
ms.localizationpriority medium
ms.subservice sharepoint
doc_type apiPageType
ms.date 04/05/2024

sitePage: publish

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Publish the latest version of a sitePage resource, which makes the version of the page available to all users. If the page is checked out, check in the page and publish it. If the page is checked out to the caller of this API, the page is automatically checked in and then published.

If a page approval flow has been activated in the page library, the page is not published until the approval flow is completed.

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

HTTP request

POST /sites/{siteId}/pages/{pageId}/microsoft.graph.sitePage/publish

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 204 No Content. It doesn't return anything in the response body.

HTTP/1.1 204 No Content