Update folder permissions Run in API Explorer
Ask AI
POST
/api/v1/folder/{folder_uuid}/permissions
curl \
--request POST 'https://api.plannrcrm.com/api/v1/folder/6ff8f7f6-1eb3-3525-be4a-3932c805afed/permissions' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"clients_read":false,"clients_write":false,"participants":[{"uuid":"41bfbf82-2147-482c-9669-6d3e5561587b","write":false},{"uuid":"bda330a1-9874-4cd4-b4c4-0c54c30d78bb","write":true}]}'
Request examples
{
"clients_read": false,
"clients_write": false,
"participants": [
{
"uuid": "41bfbf82-2147-482c-9669-6d3e5561587b",
"write": false
},
{
"uuid": "bda330a1-9874-4cd4-b4c4-0c54c30d78bb",
"write": true
}
]
}
Response examples (401)
{
"message": "Unauthenticated."
}