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":"8201ab37-7f00-477e-95b8-4c44a4c15d62","write":false},{"uuid":"5ec22882-780c-4784-b19d-39c02a759d29","write":true}]}'
Request examples
{
"clients_read": false,
"clients_write": false,
"participants": [
{
"uuid": "8201ab37-7f00-477e-95b8-4c44a4c15d62",
"write": false
},
{
"uuid": "5ec22882-780c-4784-b19d-39c02a759d29",
"write": true
}
]
}
Response examples (401)
{
"message": "Unauthenticated."
}