---
title: "🛡️👤 Update a repository set. The user must be an admin of the account that owns the reposet."
method: PUT
path: "/reposet/{id}"
tags: ["reposet", "default"]
---

# 🛡️👤 Update a repository set. The user must be an admin of the account that owns the reposet.

`PUT /reposet/{id}`

## Request

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

## Path parameters

- `id` integer, required

## Request body

- RepositorySetWithName: A set of repositories. An empty list results an empty response in contrary to DeveloperSet. Duplicates are automatically ignored.
  - `name` string
  - `items` RepositoryID[]
  - `precomputed` boolean

## Response `200`

Empty object indicates a successful update.

- object

## Other responses

- `403`: The user is forbidden to update the specified repository set.
- `404`: The specified repository set was not found.
- `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)
