---
search:
  tags:
    - users
    - DELETE
seo:
  description: >-
    Ends the sessions of the user and deletes its grants. An admin cannot…
    Reference for the DELETE /api/v1/users/{id} endpoint in the TimescaleDB
    Enterprise API.
sidebar:
  label: Delete a user
  badge: DELETE
title: Delete a user
type: openapi-operation
---
Ends the sessions of the user and deletes its grants. An admin cannot delete the own account. The next SSO login of a deleted OIDC user adds a new user with no grants.

`DELETE /api/v1/users/{id}`

**Responses**

- `204` — No Content
- `default` — Error
