
# REVOKE
#### 功能描述
使用REVOKE语法在LakeFormation服务中进行取消授权操作。
#### 语法格式
```
REVOKE privileges [ WITH GRANT ] ON privilege_target FROM grantee_list;
```
**WITH GRANT**表示级联授权，被授权的用户可以给其它用户授予相同权限。
其中：
- privileges可以为：
  ```
  | [ READ, WRITE, DESCRIBE, EXECUTE, ALTER, DROP, INSERT, SELECT, UPDATE, DELETE ] [, …]
  | ALL
  | ALL PRIVILEGE
  | ALL PRIVILEGES
  ```
  
- privilege_target可以为：
  ```
  | DATABASE name_list
  | SCHEMA name_list
  | TABLE qualified_name_list
  | FUNCTION function_with_argtypes_list
  | PATH obs_path_list
  | ALL TABLES IN SCHEMA name_list
  | ALL FUNCTIONS IN SCHEMA name_list
  ```
  其中：
  - name_list为：
    ```
    | name [, …]
    ```
    
  
  - qualified_name_list为：
    ```
    | qualified_name [, …]
    ```
    
  
  - function_with_argtypes_list为：
    ```
    | function_with_argtypes [, …]
    ```
    
  
  - obs_path_list为：
    ```
    | SCONST [, …]
    ```
    
   
- grantee_list可以为：
  ```
  | USER RoleId [, …]
  | USER GROUP RoleId [, …]
  | ROLE RoleId [, …]
  ```
  
 
