---
title: "Update an access group project"
method: PATCH
path: "/v1/access-groups/{accessGroupIdOrName}/projects/{projectId}"
tags: ["access-groups"]
---

# Update an access group project

`PATCH /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}`

Allows update of an access group project

## Path parameters

- `accessGroupIdOrName` string, required
- `projectId` string, required

## Query parameters

- `teamId` string
- `slug` string

## Request body

- object
  - `role` string, required — The project role that will be added to this Access Group.

## Response `200`

- object
  - `teamId` string, required
  - `accessGroupId` string, required
  - `projectId` string, required
  - `role` 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_GUEST' | 'PROJECT_VIEWER', required
  - `createdAt` string, required
  - `updatedAt` string, required

## Other responses

- `400` — One of the provided values in the request body is invalid. One of the provided values in the request query is invalid.
- `401` — The request is not authorized.
- `403` — You do not have permission to access this resource.
- `410`

---

[API](https://skmtc.net/vercel/apis/api.md) · [All operations](https://skmtc.net/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vercel/api/versions/61d1ba3f6dac/schema)
