Update folder permissions

POST /api/v1/folder/{folder_uuid}/permissions

Headers

Path parameters

application/json

Body Required

  • clients_read boolean Required

    Give read access to all clients that can view the documentable item.

  • clients_write boolean Required

    Give write access to all clients that can view the documentable item.

  • participants array[string]

    Give read and write access to specific people that can view the documentable item.

POST /api/v1/folder/{folder_uuid}/permissions
curl \
 -X POST https://api.plannrcrm.com/api/v1/folder/folder_uuid/permissions \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -d '{"clients_read":false,"clients_write":false,"participants":[{"uuid":"f118033e-4bd1-41a8-9eb1-f85e844d7072","write":false},{"uuid":"17c2f1c9-8b58-4d43-a7e9-c629968e2f17","write":true}]}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json

# Payload
{
  "clients_read": false,
  "clients_write": false,
  "participants": [
    {
      "uuid": "f118033e-4bd1-41a8-9eb1-f85e844d7072",
      "write": false
    },
    {
      "uuid": "17c2f1c9-8b58-4d43-a7e9-c629968e2f17",
      "write": true
    }
  ]
}