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

# Remove an owner from a Model Lab project

`DELETE /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`

Remove a user from the owners of a Model Lab project. Removing a user who
isn't an owner has no effect. The project's creator is always an owner and
can't be removed.

## 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/delete.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)
