Remove a PostgreSQL user

Delete a user. The tables and other objects the user owns move to the default admin user. The default admin user can't be deleted. The instance must be running or degraded.

DELETE https://{availability_zone}.betterstackcloud.com/v1/postgres/{postgres_id}/users/{id}
postgres_id string required

The ID of the PostgreSQL instance.

id string required

The ID of the PostgreSQL user to remove.

Authorization string required

Bearer $TOKEN

204 No Content

The PostgreSQL user is deleted. The response has no body.