Hi,
I am using following API docs/sharing_policy/set to set public sharing policy via api explorer all of the public shairn policies work fine except
<SPAN data-reactid=".0.2.0.0.0.4.1.0.0.1.0.0.0"><SPAN class="hljs-string">disabled</SPAN></SPAN>
<SPAN data-reactid=".0.2.0.0.0.4.1.0.0.1.0.0.0">curl -X POST https://api.dropboxapi.com/<SPAN class="hljs-number">2</SPAN>/paper/docs/sharing_policy/<SPAN class="hljs-built_in">set</SPAN> \
--header <SPAN class="hljs-string">'Authorization: Bearer <token>'</SPAN> \
--header <SPAN class="hljs-string">'Content-Type: application/json'</SPAN> \
--data <SPAN class="hljs-string">'{"doc_id":"WqfDh6TLUqMMbzCYDVLJe","sharing_policy":{"public_sharing_policy":{".tag":"disabled"}}}'</SPAN></SPAN>
for which i get follwoing response
<SPAN data-reactid=".0.2.1.0.0.0.1.0.0.0.0"><CODE data-reactid=".0.2.1.0.0.0.1.0.0.0.0.1">Error in call to API function <SPAN class="hljs-string">"paper/docs/sharing_policy/set"</SPAN>: Invalid arguments supplied.
Can you pelase check this and let me know why it doesnot work