Forum Discussion
Joe James
Oct 25, 2018Copper Contributor
REST API to apply a retention Label
Is there a REST method to apply/update a retention label on a file in a library?
- Nov 16, 2018
thanks, we are planning to release a REST API which will create the event-based retention by the end of year so stay tune (see this demo we did at Ignite: https://youtu.be/gBNcHJ7ERl8?t=2848
HerschelJ
Brass Contributor
Hello! I am looking for a way to GET/SET the Compliance Tag / Retention Label on a library level via API, is this possible? I would love to create a Power Automate to run on all newly created Teams/SharePoint sites and set the Retention Labels on their Documents library to adhere to our policy, ive found hundreds of examples on how to set on items, but I just want to set on the library itself. thanks!