---
title: "Deletes multiple users by email (POST method - use this if your client does not support DELETE with body)"
method: POST
path: "/v1/users/delete-users"
tags: ["users"]
---

# Deletes multiple users by email (POST method - use this if your client does not support DELETE with body)

`POST /v1/users/delete-users`

## Request

- Base URL: `https://api.memberspot.de` (the document declares no server; this is the origin it was published from)
- URL: `https://api.memberspot.de/v1/users/delete-users`
- Auth: API key in header `X-API-KEY`

## Request body

- DeleteMultipleUsersByMailDataDto
  - `emails` string[], required: Array with emails of users to delete

## Response `200`

Returns ok if all users were deleted. <br>
    Only users that were found were deleted. <br>
    Users that mail is not in school will not be deleted.

## Other responses

- `400`: Missing arguments (check your api key)
- `401`: Api key provided but invalid

---

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