Skip to content
You're viewing documentation for v2026.11.6-beta. It may be out of date.Go to latest
TimescaleDB Enterprise
Esc
↑↓navigate↵open⌘Jpreview

Delete a user

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}
Authorization
tse_sessionAPI key · cookierequired
Path parameters
idstringrequired
Responses
204

No Content

default

Error

codestring

Stable code of the refusal, when the route has codes

detailsstring[]

Additional detail, e.g. per-field validation failures

errorstringrequired

Human-readable error message

Request
curl -X DELETE 'https://console.example.com/api/v1/users/string' \
  -H 'Cookie: tse_session=YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
No Content