---
title: "Deletes a user from the project.

Returns confirmation of project user deletion, or an error if the project is
archived (archived projects have no users)."
method: DELETE
path: "/organization/projects/{project_id}/users/{user_id}"
tags: ["Projects"]
---

# Deletes a user from the project.

Returns confirmation of project user deletion, or an error if the project is
archived (archived projects have no users).

`DELETE /organization/projects/{project_id}/users/{user_id}`

## Path parameters

- `project_id` string, required
- `user_id` string, required

## Response `200`

Project user deleted successfully.

- ProjectUserDeleteResponse
  - `object` 'organization.project.user.deleted', required
  - `id` string, required
  - `deleted` boolean, required

## Other responses

- `400` — Error response for various conditions.

## Changes

> 82 revisions in range; 9 could not be searched.

- **2026-05-13** `74cbcf73838f` — 2 breaking, 1 info
  - response property `error/code` list-of-types was widened by adding types `null` to media type `application/json` of response `400`
  - response property `error/param` list-of-types was widened by adding types `null` to media type `application/json` of response `400`
  - the endpoint scheme security `AdminApiKeyAuth` was added to the API
- **2024-08-06** `8eca3b09b705` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openai/apis/openapi/changes/organization/projects/:project_id/users/:user_id/delete.md)

---

[API](https://skmtc.dev/openai/apis/openapi.md) · [All operations](https://skmtc.dev/openai/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openai/openapi/revisions/959ef977e135/schema)
