---
title: "Unassign team member from a sub-team (works for sub-teams only)"
method: DELETE
path: "/teams/{subteamId}/members/unassign/{memberId}"
tags: ["Teams"]
---

# Unassign team member from a sub-team (works for sub-teams only)

`DELETE /teams/{subteamId}/members/unassign/{memberId}`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/teams/{subteamId}/members/unassign/{memberId}`
- Auth: API key in header `Authorization` and API key in header `x-smyth-team-id`
- TypeScript: <https://skmtc.dev/smythos/apis/smyth-api/docs/teams/:subteamId/members/unassign/:memberId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Unassign team member

## Path parameters

- `subteamId` string, required
- `memberId` string, required

## Response `200`

unassigned team member

- ResponseMessage
  - `message` string

---

[API](https://skmtc.dev/smythos/apis/smyth-api.md) - [All operations](https://skmtc.dev/smythos/apis/smyth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smythos/apis/smyth-api/revisions/1475e078fb4a?raw)
