# Delete User (/postgres-clusters/Postgres_users_delete)

Delete a specific Postgres user within a cluster.

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

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `postgres_cluster_id` | path | `string` | Yes | Managed Postgres Cluster ID |
| `username` | path | `string` | Yes | Postgres User Name |

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `204` | No Content |  |
| `400` | Username is reserved, a system user, or malformed | `PostgresErrorResponse` |
| `404` | 'Cluster not found' for the cluster; 'User not found' for the user | `PostgresErrorResponse` |

The full machine-readable OpenAPI spec is available at /openapi.json.