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

# Create an access group project

`POST /v1/access-groups/{accessGroupIdOrName}/projects`

Allows creation of an access group project

## Path parameters

- `accessGroupIdOrName` string, required

## Query parameters

- `teamId` string
- `slug` string

## Request body

- object
  - `projectId` string, required — The ID of the project.
  - `role` 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER', 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)
