Update folder permissions
Headers
-
Content-Type string
-
Accept string
Body Required
-
Give read access to all clients that can view the documentable item.
-
Give write access to all clients that can view the documentable item.
-
participants array[string]
Give read and write access to specific people that can view the documentable item.
POST /api/v1/folder/{folder_uuid}/permissions
curl \
-X POST https://api.plannrcrm.com/api/v1/folder/folder_uuid/permissions \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"clients_read":false,"clients_write":false,"participants":[{"uuid":"10204670-84c5-49e6-8572-08ef54bd886a","write":false},{"uuid":"e341a2e6-c0ab-4dc3-968c-7ea7c0a68f18","write":true}]}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"clients_read": false,
"clients_write": false,
"participants": [
{
"uuid": "10204670-84c5-49e6-8572-08ef54bd886a",
"write": false
},
{
"uuid": "e341a2e6-c0ab-4dc3-968c-7ea7c0a68f18",
"write": true
}
]
}