---
title: "Deletes a user."
method: DELETE
path: "/user/{id}"
tags: ["user"]
---

# Deletes a user.

`DELETE /user/{id}`

Requires elevated authentication.

## Path parameters

- `id` integer, required

## Response `200`

Ok

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

## Changes

> 55 revisions in range; 2 not diffed, 4 could not be searched.

- **2022-12-01** `ae82099c4668` — 1 info
  - the endpoint scheme security `clientTokenAuthorizationHeader` was added to the API
- **2018-11-24** `d070b62245ca` — 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `404`

[Change history](https://skmtc.dev/gotify/apis/gotify-rest-api/changes/user/:id/delete.md)

---

[API](https://skmtc.dev/gotify/apis/gotify-rest-api.md) · [All operations](https://skmtc.dev/gotify/apis/gotify-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gotify/gotify-rest-api/revisions/757d7e98d83c/schema)
