Created
March 24, 2022 09:58
-
-
Save expiscornovus/c633bc8c2a88f29068ae905c0492690a to your computer and use it in GitHub Desktop.
Set Compliance Tag to None
This file contains 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
{ | |
"inputs": { | |
"host": { | |
"connectionName": "shared_sharepointonline", | |
"operationId": "HttpRequest", | |
"apiId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline" | |
}, | |
"parameters": { | |
"dataset": "https://contoso.sharepoint.com/sites/InPlaceRecordsManagement", | |
"parameters/method": "POST", | |
"parameters/uri": "_api/web/lists(guid'@{variables('ListId')}')/items(@{items('Apply_to_each')['ID']})/SetComplianceTag()", | |
"parameters/headers": { | |
"Accept": "application/json;odata=nometadata", | |
"Content-Type": "application/json;odata=nometadata" | |
}, | |
"parameters/body": "{\n\"complianceTag\":\"\"\n}" | |
}, | |
"authentication": { | |
"type": "Raw", | |
"value": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']" | |
} | |
}, | |
"description": "_api/web/lists(guid'@{variables('ListId')}')/items(@{items('Apply_to_each')['ID']})/SetComplianceTag()", | |
"metadata": { | |
"operationMetadataId": "eff19624-e5cf-4e4b-ab46-75e912b2c10e" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment