---
raw: true
search:
  tags:
    - Teams
    - DELETE
seo:
  description: >-
    Removes a member from the subteam and its… Reference for the DELETE
    /v1/teams/{teamId}/subteams/{subTeamId}/members/{userId} endpoint in the
    Spacefast API.
sidebar:
  label: Remove a subteam member
  badge: DELETE
title: Remove a subteam member
type: openapi-operation
---
Removes a member from the subteam and its Spaces. They stay on the team. The team's owners and admins are in every subteam; change their team role instead.

`DELETE /v1/teams/{teamId}/subteams/{subTeamId}/members/{userId}`

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "subTeamId": "string",
    "userId": "string"
  }
}
```
