---
title: "Expel the user"
method: POST
path: "/cm/v1/auth/users/expel"
tags: ["User"]
---

# Expel the user

`POST /cm/v1/auth/users/expel`

Expel the user from an API callers’ workplace.
Only API callers who have the WORKPLACE_OWNER role can expel users.
Expelled users will no longer have any roles under the workplace.

## Request body

- MessagesExpelUserRequest
  - `user_id` string, required — The user ID.

## Response `200`

A successful response.

- MessagesExpelUserResponse

## Other responses

- `default` — Error. Detailed cause can be found in the `details` field.

---

[API](https://skmtc.net/moloco/apis/moloco-ads-campaign-management-api.md) · [All operations](https://skmtc.net/moloco/apis/moloco-ads-campaign-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moloco/moloco-ads-campaign-management-api/revisions/5c85d0910ac0/schema)
