Deletes a role from a MaxCompute project.
Limits
Before deleting a role, make sure no users are assigned to it.
Syntax
drop role <role_name>;Parameters
| Parameter | Required | Description |
|---|---|---|
role_name | Yes | The name of the role to delete. |
Examples
-- Delete the player role.
drop role player;What's next
CREATE ROLE: Creates a role in a MaxCompute project.
LIST ROLES: Lists the information of all roles in a MaxCompute project.
GRANT: Assigns a role to a user, granting the user all permissions of that role.
REVOKE: Revokes a role's permissions from a user.