---
title: "Add Repo Owner"
method: POST
path: "/api/v1/repos/{owner}/{repo}/owners"
tags: ["ownerships"]
---

# Add Repo Owner

`POST /api/v1/repos/{owner}/{repo}/owners`

Add an owner to a repo.

Requires being an existing owner of the repo.

## Path parameters

- `owner` string, required
- `repo` string, required

## Request body

- AddRepoOwnerRequest — Request to add a repo owner.
  - `email` string, required

## Response `200`

Successful Response

- RepoOwner — A repo owner with user details. Note: identity_id and email may be None when returned to users outside the repo's tenant (PII protection).
  - `identity_id` string, uuid, nullable, required
  - `ls_user_id` string, uuid, required
  - `email` string, nullable, required
  - `full_name` string, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.net/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/revisions/a0acb3a6a101/schema)
