REVOKE ON TABLE

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

Category: securityPrivilege: ManageGrantsDeltaForge extension

Syntax

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

Description

## Overview REVOKE ON TABLE removes a single privilege grant from a user or role. The revoke is idempotent. ## Behavior - Existing sessions are not invalidated. - Schema and zone grants are unaffected. ## Access Control Requires the `ManageGrants` privilege on the table. ## Compatibility DeltaForge extension.

Parameters

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

Examples

REVOKE INSERT ON TABLE silver.staging.orders FROM ROLE pipeline_runner;

See Also

Open in interactive docs →   DeltaForge home →