Authorization: Bearer ********************
{
"uris": [
"cloudreve://my/newfile.docx",
"cloudreve://my/main.c"
],
"setting": {
"user_explicit": {
"bnUn": "Dw=="
},
"same_group": "Dw==",
"anonymous": "Aw==",
"everyone": "Cw=="
}
}
curl --location --request POST '/file/permission' \
--header 'Content-Type: application/json' \
--data-raw '{
"uris": [
"cloudreve://my/newfile.docx",
"cloudreve://my/main.c"
],
"setting": {
"user_explicit": {
"bnUn": "Dw=="
},
"same_group": "Dw==",
"anonymous": "Aw==",
"everyone": "Cw=="
}
}'
0
- Success.Response
.{
"code": 0,
"msg": ""
}