---
title: "Delete user"
method: DELETE
path: "/scim/Users/{userUid}"
tags: ["SCIM"]
---

# Delete user

`DELETE /scim/Users/{userUid}`

Deprovisions a user from the authenticated organization.

The exact effect depends on the user's membership type:
- **Internal user, single-org**: removes all organization memberships and deletes the identity.
- **Internal user, multi-org (same SSO customer group)**: removes only the membership in this organization; the identity and other memberships are preserved.
- **External user**: removes only the membership in this organization.

Bot identities and the last owner of an organization cannot be deleted.

Returns `204 No Content` on success.

## Path parameters

- `userUid` string, required

## Response `204`

User deprovisioned successfully — no content returned

## Other responses

- `401` — Unauthorized — missing or invalid token
- `404` — User not found or does not belong to the authenticated organization
- `422` — Unprocessable entity — bot identity, last organization owner, or identity not managed by this organization
- `500` — Internal server error

---

[API](https://skmtc.net/phrase/apis/control-hub-service.md) · [All operations](https://skmtc.net/phrase/apis/control-hub-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phrase/control-hub-service/revisions/98ecac7ba2bf/schema)
