Skip to main content
PATCH
/
v1
/
projects
/
{project_id}
/
collaborators
/
{target_user_id}
Update Project Collaborator
curl --request PATCH \
  --url https://api.ontora.com/v1/projects/{project_id}/collaborators/{target_user_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "role": "viewer"
}
'
{
  "user_id": "<string>",
  "role": "<string>",
  "added_by": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.ontora.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string<uuid>
required
target_user_id
string
required

Body

application/json
role
enum<string>
required
Available options:
viewer,
editor,
admin

Response

Successful Response

user_id
string
required
role
string
required
added_by
string | null
required
created_at
string<date-time>
required