Skip to main content
PATCH
/
cases
/
{case_id}
/
collaborators
/
{collaborator_id}
Update collaborator
curl --request PATCH \
  --url https://api.example.com/v1/cases/{case_id}/collaborators/{collaborator_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "role": "editor",
  "permissions": {
    "can_manage_collaborators": true,
    "can_manage_documents": true,
    "can_manage_financials": true,
    "can_manage_probate": true,
    "can_use_tools": true
  }
}
'
{
  "data": {
    "id": "01K8CL02BJ1T88HRYE78AN7BBB",
    "user_id": "<string>",
    "email": "edith@example.com",
    "first_name": "John",
    "last_name": "Johnson",
    "role": "editor",
    "status": "accepted",
    "invited_at": "2023-11-07T05:31:56Z",
    "accepted_at": "2023-11-07T05:31:56Z",
    "invited_by": "<string>",
    "permissions": {
      "can_manage_collaborators": false,
      "can_manage_documents": true,
      "can_manage_financials": true,
      "can_manage_probate": false,
      "can_use_tools": true
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

case_id
string
required

Unique case identifier (ULID format).

collaborator_id
string
required

Body

application/json
role
enum<string>
Available options:
editor,
viewer
permissions
object

Response

Collaborator updated.

data
object