REMOVE USER
Updated at:
Copy as MD
Removes an Alibaba Cloud account or RAM user from a MaxCompute project. After removal, the user can no longer access any resources in the project.
Important
REMOVE USER does not delete authorization data. Permissions granted to the user are retained in the project. If the user is added back later, all historical permissions are automatically restored.
Prerequisites
Before removing a user who has been assigned a role, revoke the role first.
Supported platforms
Run REMOVE USER on the following platforms:
Syntax
remove user <user_name>;Parameters
| Parameter | Required | Description |
|---|---|---|
user_name | Yes | The Alibaba Cloud account or RAM user to remove. Format: ALIYUN$<account>@aliyun.com for Alibaba Cloud accounts; RAM$<username> for RAM users. |
Examples
Remove an Alibaba Cloud account:
remove user ALIYUN$test_user@test.aliyunid.com;Remove a RAM user:
remove user RAM$ram_test_user;What's next
LIST USERS: View all users in a MaxCompute project.
ADD USER: Add an Alibaba Cloud account or RAM user to a MaxCompute project.
Is this page helpful?