---
title: "Add a permission to a project"
method: POST
path: "/v1/projects/{id}:add-permission"
tags: ["Projects"]
---

# Add a permission to a project

`POST /v1/projects/{id}:add-permission`

Grants a user permission to access a project.

## Path parameters

- `id` string, required

## Request body

- UserPermission
  - `permissionRole` 'UNKNOWN' | 'OWNER' | 'VIEWER' | 'EDITOR', required
  - `role` string
  - `userEmail` string
  - `userId` string
  - `userPicture` string

## Response `200`

A successful response.

- object

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/cudocompute/apis/cudo-compute-service.md) · [All operations](https://skmtc.net/cudocompute/apis/cudo-compute-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cudocompute/cudo-compute-service/versions/93dc40dababc/schema)
