The following table lists the API operations available for use in Resource Group.

Note Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to debug API operations and dynamically generate SDK sample code.
OperationDescription
CreateResourceGroupCreates a resource group.
ListResourceGroupsQueries resource groups.
GetResourceGroupQueries the information of a resource group.
CreatePolicyCreates a permission policy.
DeleteResourceGroupDeletes a resource group.
UpdateResourceGroupUpdates the basic information of a resource group.
ListPoliciesQueries permission policies.
GetPolicyQueries the information of a permission policy.
CreatePolicyVersionCreates a version for a permission policy.
DeletePolicyVersionDeletes a version of a policy.
ListPolicyVersionsQueries the versions of a permission policy.
GetPolicyVersionQueries the information of a permission policy version.
SetDefaultPolicyVersionSets a default version for a permission policy.
AttachPolicyAttaches a permission policy to an object.
DetachPolicyDetaches a permission policy from an object.
ListPolicyAttachmentsQueries the attachment records of permission policies.
DeletePolicyDeletes a permission policy.
CreateRoleCreates a RAM role.
DeleteRoleDeletes a RAM role.
GetRoleQueries the information of a RAM role.
ListRolesQueries RAM roles.
UpdateRoleUpdates the information of a RAM role.
ListResourcesQueries resources that can be accessed by the current account in resource groups.
MoveResourcesMoves resources from one resource group to another.
CreateServiceLinkedRoleCreates a service-linked role.
DeleteServiceLinkedRoleDeletes a service-linked role.
GetServiceLinkedRoleDeletionStatusQueries the status of the task that is used to delete a service-linked role.
TagResourcesAdds tags to resource groups or the members in a resource directory.
UntagResourcesRemoves tags from resource groups or the members in a resource directory.
ListTagResourcesQueries the tags that are added to resource groups or the members in a resource directory.
Note Both the Resource Management and Resource Access Management (RAM) services provide the API operations used to manage permission policies and the API operations used to manage RAM roles. Two API operations with the same name in Resource Management and RAM provide the same features. You can use either of the two API operations to perform the desired operations. However, two API operations with the same name in the two services have differences. For more information, see API overview.