---
title: "Add an owner to a Model Lab project"
method: POST
path: "/api/v2/model-lab-api/projects/{project_id}/owners/{user_id}"
tags: ["Model Lab API"]
---

# Add an owner to a Model Lab project

`POST /api/v2/model-lab-api/projects/{project_id}/owners/{user_id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/model-lab-api/projects/{project_id}/owners/{user_id}`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token`

Add a user as an owner of a Model Lab project. The user must belong to the
project's organization. The project's creator is always an owner, so adding
the creator, or a user who is already an owner, has no effect.
A project can have at most 50 owners besides its creator.

## Path parameters

- `project_id` integer, required
- `user_id` string, uuid, required

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests
- `500`: Internal Server Error

## Changes

- **2026-11-20** `3b1c63e31740`: 4 warning
  - the optional response header `X-RateLimit-Limit` removed for the status `429`
  - the optional response header `X-RateLimit-Period` removed for the status `429`
  - the optional response header `X-RateLimit-Remaining` removed for the status `429`
  - the optional response header `X-RateLimit-Reset` removed for the status `429`
- **2026-11-19** `1b550a10d5d9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/changes/api/v2/model-lab-api/projects/:project_id/owners/:user_id/post.md)

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/4ba32926196d?raw)
