---
title: "Remove an attendee from a room"
method: DELETE
path: "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/attendees"
tags: ["room"]
---

# Remove an attendee from a room

`DELETE /ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/attendees`

## Path parameters

- `apiVersion` 'v4', required
- `token` string, required

## Query parameters

- `attendeeId` integer, required

## Headers

- `OCS-APIRequest` boolean, required

## Response `200`

Attendee removed successfully

- object
  - `ocs` object, required
    - `meta` OCSMeta, required
      - `status` string, required
      - `statuscode` integer, required
      - `message` string
      - `totalitems` string
      - `itemsperpage` string
    - `data` unknown, required

## Other responses

- `400` — Removing attendee is not possible
- `403` — Removing attendee is not allowed
- `404` — Attendee not found

## Changes

> 62 revisions in range; 2 could not be searched.

- **2026-07-16** `b839c08b37fd` — 3 warning
  - added the new `announcement` enum value to the `ocs/data/error` response property for the response status `400`
  - added the new `announcement` enum value to the `ocs/data/error` response property for the response status `403`
  - added the new `announcement` enum value to the `ocs/data/error` response property for the response status `404`

[Change history](https://skmtc.dev/nextcloud/apis/spreed-full/changes/ocs/v2.php/apps/spreed/api/:apiVersion/room/:token/attendees/delete.md)

---

[API](https://skmtc.dev/nextcloud/apis/spreed-full.md) · [All operations](https://skmtc.dev/nextcloud/apis/spreed-full/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nextcloud/spreed-full/revisions/41d6458d6d6e/schema)
