---
title: "Change Project Collaborator Role"
method: POST
path: "/api/projects/{project_id}/collaborators/change"
---

# Change Project Collaborator Role

`POST /api/projects/{project_id}/collaborators/change`

## Request

- Base URL: `https://api.openpaper.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openpaper.ai/api/projects/{project_id}/collaborators/change`
- Auth: API key in header `Authorization`

Change a collaborator's role in a specific project

## Path parameters

- `project_id` string, required

## Request body

- ChangeRoleRequest
  - `role_id` string, required
  - `new_role` 'admin' | 'editor' | 'viewer', required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/openpaper/apis/open-paper.md) - [All operations](https://skmtc.dev/openpaper/apis/open-paper/llms.txt) - [OpenAPI document](https://skmtc.dev/openpaper/apis/open-paper/revisions/c2ad03216101?raw)
