---
title: "Remove a team member"
method: DELETE
path: "/teams/{team_id}/members/{user_id}"
tags: ["Teams"]
---

# Remove a team member

`DELETE /teams/{team_id}/members/{user_id}`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/teams/{team_id}/members/{user_id}`
- Auth: HTTP bearer

Remove a team member to the team.

## Path parameters

- `team_id` string, uuid, required
- `user_id` string, uuid, required

## Response `200`

Team member removed successfully

- TeamMember
  - `id` string, uuid, required
  - `user_id` string, uuid, required
  - `team_id` string, uuid, required
  - `role` 'OWNER' | 'ADMIN' | 'MEMBER', required
  - `created_at` union, required
    - string, nullable
    - string
    - unknown
  - `updated_at` union, required
    - string, nullable
    - string
    - unknown
  - `deleted_at` union, required
    - string, nullable
    - string
    - unknown
  - `first_name` string
  - `last_name` string
  - `email` string, email

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/865742aad8e3?raw)
