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":"058195ae-f7d9-4c91-9182-022b51e49f02","write":false},{"uuid":"96caaa3b-79a5-4467-ad17-8962c96b294d","write":true}]}'
Request examples
{
"clients_read": false,
"clients_write": false,
"participants": [
{
"uuid": "058195ae-f7d9-4c91-9182-022b51e49f02",
"write": false
},
{
"uuid": "96caaa3b-79a5-4467-ad17-8962c96b294d",
"write": true
}
]
}
Response examples (401)
{
"message": "Unauthenticated."
}