---
title: "Remove user"
method: DELETE
path: "/v3/users/{userId}"
tags: ["Users"]
---

# Remove user

`DELETE /v3/users/{userId}`

Removes a user's access to an organization or profile. Requires admin role. You cannot remove yourself or remove the last admin.

## Path parameters

- `userId` string, required

## Headers

- `x-profile-id` string, uuid

## Request body

- SentDmServicesEndpointsCustomerAPIv3RequestsRemoveUserRequest — Base request for mutation operations (POST, PUT, PATCH) with sandbox mode support
  - `sandbox` boolean — Sandbox flag - when true, the operation is simulated without side effects Useful for testing integrations without actual execution

## Response `204`

User removed successfully

## Other responses

- `400` — Invalid request - Cannot remove yourself or last admin
- `401` — Unauthorized - Invalid API credentials
- `403` — Forbidden - User does not have admin access to this organization
- `404` — User not found
- `500` — Internal server error

---

[API](https://skmtc.net/sentdm/apis/sent-dm-api-v3.md) · [All operations](https://skmtc.net/sentdm/apis/sent-dm-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sentdm/sent-dm-api-v3/versions/c451eca46f1b/schema)
