---
title: "Remove a group member"
method: POST
path: "/groups.remove_user"
tags: ["Groups"]
---

# Remove a group member

`POST /groups.remove_user`

This method allows you to remove a user from the group.

## Request body

- object
  - `id` string, uuid, required — Identifier for the collection
  - `userId` string, uuid, required

## Response `200`

OK

- object
  - `data` object
    - `groups` Group[]
      - `id` string, uuid — Unique identifier for the object.
      - `name` string — The name of this group.
      - `memberCount` number — The number of users that are members of the group
      - `createdAt` string, date-time — The date and time that this object was created
      - `updatedAt` string, date-time — The date and time that this object was last changed

## Other responses

- `400` — The request failed one or more validations.
- `401` — The API key is missing or otherwise invalid.
- `403` — The current API key is not authorized to perform this action.
- `404` — The specified resource was not found.

## Changes

- **2024-07-06** `7b33b538cd7d` — 12 info
  - added the optional property `data` to the response with the `400` status
  - added the optional property `data` to the response with the `401` status
  - added the optional property `data` to the response with the `403` status
  - added the optional property `data` to the response with the `404` status
  - …8 more

[Change history](https://skmtc.dev/defaulr/apis/outline-api/changes/groups.remove_user/post.md)

---

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