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":"98381dfb-8a1e-4537-b905-14f3ac47e9a8","write":false},{"uuid":"a6a24df3-b894-4b3b-acc4-9437d27a20d0","write":true}]}'
Request examples
{
"clients_read": false,
"clients_write": false,
"participants": [
{
"uuid": "98381dfb-8a1e-4537-b905-14f3ac47e9a8",
"write": false
},
{
"uuid": "a6a24df3-b894-4b3b-acc4-9437d27a20d0",
"write": true
}
]
}
Response examples (401)
{
"message": "Unauthenticated."
}