Unpublish a page

How to unpublish an existing page of a site in SharePoint Online using a Power Automate flow.

URI

Headers

Body

Not applicable

Screenshot with example

Sample data
FileByServerRelativePath – /sites/PowerUsers/SitePages/Test-Page.aspx

unpublishapage

Expected response

A HTTP 200 response should be returned with Headers and UnPublish null

Copy/paste example

Resources

SP.File.unPublish Method

That’s it, Happy testing!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.