---
title: "Delete Partner User"
method: DELETE
path: "/api/organizations/{org_id}/users/{id}"
tags: ["Users"]
---

# Delete Partner User

`DELETE /api/organizations/{org_id}/users/{id}`

Deletes a user from the specified organization.

> 🚧 Requires partner key
>
> User endpoints are only accessible using [partner keys](../../../../../guides/obtaining-api-keys#partner-keys).

> 🚧 This action is permanent. The user is immediately removed from the
> organization and loses access to all resources within it. This cannot be
> undone.

## Path parameters

- `id` string, uuid, required — Unique identifier of the user.
- `org_id` string, uuid, required — Unique identifier of the organization the user belongs to.

## Headers

- `X-Polytomic-Version` string

## Response `200`

OK

- UserEnvelope
  - `data` User
    - `email` string — Email address used to sign in and receive notifications.
    - `id` string, uuid — Unique identifier of the user.
    - `organization_id` string, uuid — Unique identifier of the organization the user belongs to.
    - `role` string — Deprecated legacy role name. Use role_ids instead.
    - `role_ids` string[], nullable — Identifiers of the permissions roles assigned to the user.

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/polytomic/apis/polytomic-api.md) · [All operations](https://skmtc.dev/polytomic/apis/polytomic-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/polytomic/polytomic-api/revisions/6c3b7c51e463/schema)
