QuestDB LogoQuestDB Logo
Return to QuestDB.comDocumentationTutorialsBlogQuestDB EnterprisePublic SlackDiscourse CommunityView QuestDB Repo
⚡️ QuestDB Enterprise
9.3.2|16.6k
  • Release Notes
  • Roadmap
  • Introduction
  • Schema design
  • Getting Started
  • Ingestion Reference
  • Query & SQL Reference
    • Overview
    • PostgreSQL Wire Protocol
    • REST HTTP API
    • Parquet Export
    • Data Types
    • SQL Syntax
      • ADD USER
      • ALTER
      • ASSUME SERVICE ACCOUNT
      • BACKUP
      • CANCEL QUERY
      • CHECKPOINT
      • COMPILE VIEW
      • COPY
      • CREATE
      • DROP
      • EXIT SERVICE ACCOUNT
      • EXPLAIN
      • GRANT
      • INSERT
      • REFRESH MATERIALIZED VIEW
      • REINDEX
      • REMOVE USER
      • RENAME TABLE
      • REVOKE
      • SELECT
      • SHOW
      • SNAPSHOT
      • TRUNCATE TABLE
      • UNION EXCEPT INTERSECT
      • UPDATE
      • VACUUM TABLE
    • SQL execution order
    • Functions
    • Operators
  • Concepts
  • Architecture
  • Configuration
  • Security
  • High Availability
  • Operations
  • Deployment
  • Integrations
  • Tutorials & Cookbook
  • Troubleshooting
  • Changelog
  • Release Notes
  • Query & SQL Reference
  • SQL Syntax
  • REMOVE USER

REMOVE USER reference

Enterprise—

RBAC provides fine-grained database permissions management.

Learn more

REMOVE USER - removes user from one or more groups.

For full documentation of the Access Control List and Role-based Access Control, see the RBAC operations page.


Syntax​

Flow chart showing the syntax of the REMOVE USER keyword

Examples​

ADD USER john to management, audit;
REMOVE USER john from management, audit;

Checking user groups with:

SHOW GROUPS john;

should yield an empty list.

Edit this page
Previous
REINDEX
Next
RENAME TABLE
  • Syntax
  • Examples

Need a hand? Join our vibrant public Slack and Discourse forum communities.

Copyright © 2026 QuestDB
PrivacyTerms