---
title: "Remove a member"
method: DELETE
path: "/members/{memberId}"
tags: ["Members"]
---

# Remove a member

`DELETE /members/{memberId}`

## Request

- Base URL: `https://api.spoke.com/public/v1`
- URL: `https://api.spoke.com/public/v1/members/{memberId}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/spoke/apis/spoke-api/docs/members/:memberId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes a member from your team. If the member also has driver access, the member will only have their operational role(s) revoked; thus not being listed among the team members, but will keep their driver access.

## Path parameters

- `memberId` string, required

## Response `204`

Member removed successfully

## Other responses

- `400`: ID format is invalid
- `401`: Unauthorized
- `404`: The provided member id does not exist
- `422`: Failed to delete member.
- `500`: An internal server error occurred
- `default`: The default error model

---

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