---
title: "Delete a user given its identifier"
method: DELETE
path: "/users/{user}/"
tags: ["users"]
---

# Delete a user given its identifier

`DELETE /users/{user}/`

## Request

- Base URL: `https://data.public.lu/api/1`
- URL: `https://data.public.lu/api/1/users/{user}/`
- Auth: none declared

## Query parameters

- `no_mail` boolean

## Response `204`

Object deleted

## Other responses

- `403`: When trying to delete yourself
- `404`: User not found
- `410`: User is not active or has been deleted

---

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