---
title: "Delete User"
method: DELETE
path: "/postgres/{postgres_cluster_id}/users/{username}"
tags: ["Postgres Clusters"]
---

# Delete User

`DELETE /postgres/{postgres_cluster_id}/users/{username}`

Delete a specific Postgres user within a cluster.

## Path parameters

- `postgres_cluster_id` string, required
- `username` string, required

## Response `204`

No Content

## Other responses

- `400` — Username is reserved, a system user, or malformed
- `404` — 'Cluster not found' for the cluster; 'User not found' for the user

---

[API](https://skmtc.net/machines/apis/machines-api.md) · [All operations](https://skmtc.net/machines/apis/machines-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/machines/machines-api/versions/633ddedda749/schema)
