Commands.app

dropuser

User Management

Remove a PostgreSQL user

Options & Flags
Available options for this command
-i

Prompt before deletion

--if-exists

Don't error if user doesn't exist

Examples
Common usage examples

Remove user

dropuser myuser

Remove with confirmation

dropuser -i myuser
Notes
  • Cannot drop a user that owns objects
Related Commands
You might also find these useful