Allows to give write premission on folder/path

POST {{baseUrl}}/accessTokenPermissions

Allows users (tenant) to give write permission on folder/path. This API can only be accessed by tenant admin. Tenant admin can also provide write permission on subtenant folder. Write permission on root folder can also be given, except TSI folder

Request Body

{"path"=>"<string>", "permission"=>"<string>", "subtenantId"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;id&quot;:&quot;veniam Excepteur&quot;,&quot;path&quot;:&quot;/myfolder1/myfolder2&quot;,&quot;subtenantId&quot;:&quot;204a896c-a23a-11e9-a2a3-2a2ae2dbcce4&quot;,&quot;permission&quot;:&quot;WRITE&quot;,&quot;created&quot;:&quot;2019-11-12T13:36:00.000Z&quot;}