Created
March 4, 2025 11:53
-
-
Save expiscornovus/be600708b29caa2d434d98ef920a3931 to your computer and use it in GitHub Desktop.
Unpublish a Page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"id":"08240a17-4aee-4e4d-ba3c-566a9d04eed4","brandColor":"#036C70","connectionReferences":{"shared_sharepointonline":{"connection":{"id":"/exp_sharedsharepointonline_e5efa"}}},"connectorDisplayName":"SharePoint","icon":"https://conn-afd-prod-endpoint-bmc9bqahasf3grgk.b01.azurefd.net/releases/v1.0.1732/1.0.1732.4070/sharepointonline/icon.png","isTrigger":false,"operationName":"Send_an_HTTP_request_to_SharePoint","operationDefinition":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_sharepointonline","operationId":"HttpRequest","apiId":"/providers/Microsoft.PowerApps/apis/shared_sharepointonline"},"parameters":{"dataset":"@parameters('SPOSiteCollection_PowerUsers (exp_SPOSiteCollection_PowerUsers)')","parameters/method":"POST","parameters/uri":"_api/web/GetFileByServerRelativePath(DecodedUrl=@a1)/UnPublish?@a1='@{variables('FileByServerRelativePath')}'","parameters/headers":{"Accept":"application/json;odata=verbose","Content-Type":"application/json;odata=verbose"}},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"}},"runAfter":{"Initialize_variable_-_FileByServerRelativePath":["Succeeded"]},"metadata":{"operationMetadataId":"a1cac03a-dee8-46fd-b0dc-7317731d2278"}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment