REVOKE ON ZONE

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

Category: securityPrivilege: ManageGrantsDeltaForge extension

Syntax

REVOKE <privilege> ON ZONE <zone> FROM {USER | ROLE} <grantee>

Description

## Overview REVOKE ON ZONE 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 targets the exact (privilege, zone, grantee) tuple. It does not cascade to schemas or tables; revoking USAGE on a zone does not revoke USAGE on schemas underneath. - Existing sessions held by the grantee are not invalidated. Cached permission tokens may continue to grant access until they expire. ## Access Control Requires the `ManageGrants` privilege on the zone. ## Compatibility DeltaForge extension.

Parameters

NameTypeDescription
privilegeSpecifies the privilege to revoke.
zoneSpecifies the zone.
grantee_typeSpecifies the grantee kind: `USER` or `ROLE`.
granteeSpecifies the user or role name.

Examples

REVOKE USAGE ON ZONE gold FROM ROLE analyst;

See Also

Open in interactive docs →   DeltaForge home →