---
title: "Remove a member from a thread"
method: DELETE
path: "/api/v1/threads/{thread}/members"
---

# Remove a member from a thread

`DELETE /api/v1/threads/{thread}/members`

Removes a user or agent membership from the specified thread. The authenticated
user must have access to the thread. A successful removal returns HTTP 204 with
no response body.

Supply either `user` or `agent` depending on the value of `type`. Returns 404
if the thread or the membership record does not exist.

## Path parameters

- `thread` string, required

## Response `204`

No content

## Other responses

- `401` — Unauthorized
- `404` — Thread or member not found
- `422` — Failed to remove member

---

[API](https://skmtc.net/archastro/apis/archastro-platform-api.md) · [All operations](https://skmtc.net/archastro/apis/archastro-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/archastro/archastro-platform-api/versions/a8772b442f86/schema)
