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
TimHaydnJones
Apr 01, 2021Copper Contributor
So, if we wrote some code to apply a retention label to files in SP using the REST API, the retention label would have been created 'automatically'. Does this mean that we would need an E5 licence? (in my opinion, the word 'automatically' is extremely ambiguous in this critical context). My initial (and I believe logical) reaction is that we would NOT need an E5 licence just because we chose to develop something using the REST API. The reason I say this, is that if we did need an E5 licence, then we'd barely need the REST API, because E5 would have brought with it the capability to automatically apply a retention label. Ergo, the very existence of the REST API suggests to me that we can use it within an E3 environment. Any views?
- Joe JamesApr 02, 2021Copper Contributor
I don't think there will be a license implication for using the REST API. Consuming the available API and implementing your own automations should not require any additional licensing..