---
title: "🛡️👤 Create a repository set."
method: POST
path: "/reposet/create"
tags: ["reposet", "default"]
---

# 🛡️👤 Create a repository set.

`POST /reposet/create`

## Request

- Base URL: `{{ server_url }}/v1`
- URL: `{{ server_url }}/v1/reposet/create`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/athenian/apis/title/docs/reposet/create/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- RepositorySetCreateRequest: Repository set creation request.
  - `account` integer, required: Account identifier. That account will own the created repository set. The user must be an admin of the account.
  - `items` RepositoryID[], required
  - `name` string, required: Unique editable identifier of the repository set.

## Response `200`

Identifier of the created repository set.

- CreatedIdentifier
  - `id` integer, required: Identifier of the created entity.

## Other responses

- `403`: The user is forbidden to create a repository set from the specified items.
- `409`: There is an existing reposet with the same contents.

---

[API](https://skmtc.dev/athenian/apis/title.md) - [All operations](https://skmtc.dev/athenian/apis/title/llms.txt) - [OpenAPI document](https://skmtc.dev/athenian/apis/title/revisions/110c9f7cffdd?raw)
