{
"id": "string",
"name": "string",
"path": "string",
"permissions": {
"delete": {
"rangeType": "role",
"role": [
{
"property1": "string",
"property2": "string"
}
],
"user": [
{
"property1": "string",
"property2": "string"
}
]
},
"upload": {
"rangeType": "role",
"role": [
{
"property1": "string",
"property2": "string"
}
],
"user": [
{
"property1": "string",
"property2": "string"
}
]
},
"view": {
"rangeType": "role",
"role": [
{
"property1": "string",
"property2": "string"
}
],
"user": [
{
"property1": "string",
"property2": "string"
}
]
}
}
}curl --location --request PUT '/core/mediaLibraryDirSetting/' \
--header 'Authorization: {{ACCESS_TOKEN}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"name": "string",
"path": "string",
"permissions": {
"delete": {
"rangeType": "role",
"role": [
{
"property1": "string",
"property2": "string"
}
],
"user": [
{
"property1": "string",
"property2": "string"
}
]
},
"upload": {
"rangeType": "role",
"role": [
{
"property1": "string",
"property2": "string"
}
],
"user": [
{
"property1": "string",
"property2": "string"
}
]
},
"view": {
"rangeType": "role",
"role": [
{
"property1": "string",
"property2": "string"
}
],
"user": [
{
"property1": "string",
"property2": "string"
}
]
}
}
}'{
"status": "OK"
}