Logo icon
    • Contents
    • Quick start
    • Concepts
    • For DevOps
    • For Developers
    • For Security Engineers
    • For Contributors
    • Reference
      • YQL
        • Overview
          • Overview
          • Lexical structure
          • Expressions
          • ACTION
          • ALTER ASYNC REPLICATION
          • ALTER GROUP
          • ALTER VIEW
          • ALTER TOPIC
          • ALTER USER
          • ANALYZE
          • CREATE ASYNC REPLICATION
          • CREATE GROUP
          • CREATE OBJECT TYPE SECRET
          • CREATE VIEW
          • CREATE TOPIC
          • CREATE USER
          • COMMIT
          • DECLARE
          • DELETE
          • DROP ASYNC REPLICATION
          • DROP GROUP
          • DROP TABLE
          • DROP VIEW
          • DROP USER
          • GRANT
          • GROUP BY
          • FLATTEN
          • INSERT
          • INTO RESULT
          • JOIN
          • PRAGMA
          • REPLACE
          • REVOKE
          • UPDATE
          • UPSERT
          • VALUES
          • WINDOW
          • Unsupported statements
        • Query plans
      • Compatibility with PostgreSQL
      • Embedded UI
      • Integrations
      • YDB CLI
      • YDB Native SDK
      • Languages and APIs
      • Kafka API
      • Configuration
      • Observability
      • YDB DStool
      • ydbops
      • Docker
    • Recipes
    • Troubleshooting
    • Questions and answers
    • Downloads
    1. Reference
    2. YQL
    3. Syntax
    4. DROP USER

    DROP USER

    Deletes the specified user. You can list multiple users under one operator.

    Syntax:

    DROP USER [ IF EXISTS ] user_name [, ...]
    
    • IF EXISTS: Suppress an error if the user doesn't exist.
    • user_name: The name of the user to be deleted. It also supports the ability to set a comma-separated list of users, for example: DROP USER user1, user2, user3;

    Was the article helpful?

    Previous
    DROP VIEW
    Next
    GRANT