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":"5ca66a00-6ded-492c-9f3f-d0524ba8cb63","write":false},{"uuid":"4abd8579-6508-49c8-921a-cb605df83edb","write":true}]}'
Request examples
{
"clients_read": false,
"clients_write": false,
"participants": [
{
"uuid": "5ca66a00-6ded-492c-9f3f-d0524ba8cb63",
"write": false
},
{
"uuid": "4abd8579-6508-49c8-921a-cb605df83edb",
"write": true
}
]
}
Response examples (401)
{
"message": "Unauthenticated."
}