All Products
Search
Document Center

MaxCompute:CLEAR EXPIRED GRANTS

Last Updated:Mar 25, 2026

Removes expired label-based permissions that were granted through explicit authorization.

Usage notes

Only the project owner or a user assigned the Admin role can run this statement.

Syntax

clear expired grants;

Related statements

  • SET LABEL: Configures sensitivity-level labels for data in tables or columns.

  • GRANT LABEL: Grants users or roles with low access levels permission to access data with high sensitivity levels. Only the project owner or a user assigned the Admin role can perform this operation.

  • REVOKE: Revokes an explicitly configured label from a user or role. Only the project owner or a user assigned the Admin role can perform this operation.