REVOKE ON SCHEMA

Revokes a single privilege on a schema from a user or role.

Category: securityPrivilege: ManageGrantsDeltaForge extension

Syntax

REVOKE <privilege> ON SCHEMA <zone.schema> FROM {USER | ROLE} <grantee>

Description

## Overview REVOKE ON SCHEMA removes a single privilege grant from a user or role. The revoke is idempotent: revoking a grant that was never given succeeds with no error. ## Behavior - The revoke does not cascade to tables. Table-level grants remain intact unless revoked separately. - Existing sessions are not invalidated. ## Access Control Requires the `ManageGrants` privilege on the schema. ## Compatibility DeltaForge extension.

Parameters

NameTypeDescription
privilegeSpecifies the privilege to revoke.
schemaSpecifies the fully qualified schema.
grantee_typeSpecifies the grantee kind: `USER` or `ROLE`.
granteeSpecifies the user or role name.

Examples

REVOKE CREATE ON SCHEMA silver.staging FROM ROLE pipeline_runner;

See Also

Open in interactive docs →   DeltaForge home →