Remove write capability from a role.
Section: Security, Grants, and Default Privileges
Revoke update privilege
sql
sql
REVOKE UPDATE ON TABLE public.users FROM readonly;Explanation
See summary for usage details.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Security, Grants, and Default Privileges