# Alibaba Cloud Resource Management API

> Alibaba Cloud Resource Management API on Apizie: 115 endpoints (Accepts an invitation by the invited Alibaba Cloud account by calling AcceptHandshake, Attaches a control policy to a specified target, Invokes AttachPolicy to add an access policy to an authorization object (a Resource Access Management (RAM)…, Sets a secure phone number for a member of the resource account type, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:aliyun-resourcemanager/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:aliyun-resourcemanager`
- Category: Cloud
- Status: byok
- Source: https://api.alibabacloud.com/product/resourcemanager
- Page: https://apizie.tech/api/cloud/aliyun-resourcemanager
- OpenAPI: https://apizie.tech/api/cloud/aliyun-resourcemanager/openapi.json

Alibaba Cloud OpenAPI for Resource Management (resourcemanager, version 2020-03-31). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Accepts an invitation by the invited Alibaba Cloud account by calling AcceptHandshake
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/accept-handshake` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| HandshakeId | string | yes | The handshake ID. You can call https://help.aliyun.com/document_detail/160006.html to obtain the handshake ID |

### Attaches a control policy to a specified target
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/attach-control-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyId | string | yes | The ID of the control policy |
| TargetId | string | yes | The target node. Valid values: Root ID: attaches the control policy to the Root resource folder. Resource folder ID: attaches the control… |

### Invokes AttachPolicy to add an access policy to an authorization object (a Resource Access Management (RAM)…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/attach-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ResourceGroupId | string | yes | The authorization scope. Valid values: Resource group ID: The permissions take effect within the specified resource group. Alibaba Cloud… |
| PolicyType | string | yes | The type of the access policy. Valid values: Custom: custom access policy. System: system access policy |
| PolicyName | string | yes | Policy Name of the access policy. Policy Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-) |
| PrincipalType | string | yes | The authorization object type. Valid values: IMSUser: Resource Access Management (RAM) user. IMSGroup: RAM user group. ServiceRole: RAM role |
| PrincipalName | string | yes | The name of the authorization object. The format varies based on the object type: Resource Access Management (RAM) user: @ .onaliyun.com,… |

### Sets a secure phone number for a member of the resource account type
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/bind-secure-mobile-phone` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| VerificationCode | string | yes | The verification code. You can call https://help.aliyun.com/document_detail/372556.html to obtain the verification code |
| SecureMobilePhone | string | yes | The secure phone number. The phone number must be the same as the one that you specified when you called… |
| AccountId | string | yes | The member ID |

### Cancels the modification of a member account email address
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/cancel-change-account-email` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The member account ID |

### Cancels the creation of a member of the cloud account type in a resource directory
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/cancel-create-cloud-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RecordId | string | yes | The account record ID |

### Cancels a handshake
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/cancel-handshake` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| HandshakeId | string | yes | The handshake ID |

### Cancels the upgrade of a resource directory resource account to an Alibaba Cloud account
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/cancel-promote-resource-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RecordId | string | yes | The account record ID |

### Modifies the email address of a member account by calling ChangeAccountEmail
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/change-account-email` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The member account ID |
| Email | string | yes | The email address of the member account. The system automatically sends a verification email to the specified email address. The… |

### Calls CheckAccountDelete to perform a member account deletion check task
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/check-account-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The ID of the member account to be deleted |

### Creates an automatic allocation rule by calling CreateAutoGroupingRule. Two types are supported: custom…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/create-auto-grouping-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RuleName | string | yes | The rule name |
| RuleDesc | string | no | The rule description |
| RuleType | string | yes | The rule type. Valid values: custom_condition: custom allocation rule. associated_transfer: attached-resource allocation rule |
| RuleContents | string | yes | The list of rule content entries (JSON-encoded) |
| ResourceGroupIdsScope | string | no | The scope of resource group IDs. Separate multiple resource group IDs with commas (,) |
| ExcludeResourceGroupIdsScope | string | no | The resource group IDs to exclude. Separate multiple resource group IDs with commas (,) |
| RegionIdsScope | string | no | The scope of region IDs. Separate multiple region IDs with commas (,) |
| ExcludeRegionIdsScope | string | no | The region IDs to exclude. Separate multiple region IDs with commas (,) |
| ResourceIdsScope | string | no | The scope of resource IDs. Separate multiple resource IDs with commas (,) |
| ExcludeResourceIdsScope | string | no | The resource IDs to exclude. Separate multiple resource IDs with commas (,) |
| ResourceTypesScope | string | no | The scope of resource types. Separate multiple resource types with commas (,) |
| ExcludeResourceTypesScope | string | no | The resource types to exclude. Separate multiple resource types with commas (,) |

### Creates a member of the cloud account type in a resource directory
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/create-cloud-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| DisplayName | string | yes | The member name. The name must be 2 to 50 characters in length and can contain letters, digits, underscores (_), periods (.), and hyphens… |
| ParentFolderId | string | no | The ID of the parent folder |
| Email | string | yes | The email address used to log on to the cloud account |
| PayerAccountId | string | no | The ID of the settlement account. If this parameter is left empty, the current account is used for settlement |

### Calls CreateControlPolicy to create a custom control policy
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/create-control-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyName | string | yes | Policy Name of the control policy. Policy Name must be 1 to 128 characters in length, must start with a letter, and can contain letters,… |
| Description | string | no | The description of the control policy. The description must be 1 to 1024 characters in length, must start with a letter, and can contain… |
| EffectScope | string | yes | The effective scope of the control policy. Valid values: RAM, which indicates that the control policy takes effect only for Resource… |
| PolicyDocument | string | yes | The content of the control policy. The maximum length is 4096 characters. For information about the control policy language, see… |

### Creates a resource folder by calling CreateFolder
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/create-folder` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ParentFolderId | string | no | The ID of the parent folder |
| FolderName | string | yes | The name of the resource folder. The name must be 1 to 24 characters in length and can contain letters, digits, underscores (_), periods… |

### Creates an access policy
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/create-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyName | string | yes | Policy Name of the access policy. Policy Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-) |
| Description | string | no | The description of the access policy. The description must be 1 to 1,024 characters in length |
| PolicyDocument | string | yes | The content of the access policy. The content must be 1 to 6,144 characters in length |

### Creates a version of an access policy by calling CreatePolicyVersion
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/create-policy-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyName | string | yes | Policy Name of the access policy. Policy Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-) |
| PolicyDocument | string | yes | The content of the access policy. The content must be 1 to 6,144 characters in length |
| SetAsDefault | string | no | Specifies whether to set the version as the default access policy version. Valid values: false (default): The version is not set as the… |

### Creates a member of the resource account type by calling CreateResourceAccount
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/create-resource-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| DisplayName | string | yes | The display name of the member. Length: 2 to 50 characters. Format: Can contain letters, digits, underscores (_), periods (.), hyphens… |
| ParentFolderId | string | no | The ID of the parent folder |
| PayerAccountId | string | no | The ID of the billing account. If you leave this parameter empty, the newly created member pays for its own resource consumption |
| AccountNamePrefix | string | no | The prefix of the account name. If you leave this parameter empty, the system randomly generates a prefix. Length: 2 to 50 characters.… |
| Tag | string | no | The tags of the member (JSON-encoded) |
| ResellAccountType | string | no | The identity type of the member. Valid values: resell (default): reseller account. The created member automatically establishes a reseller… |

### Creates a resource group
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/create-resource-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| Name | string | yes | The unique identifier of the resource group. The identifier must be 2 to 50 characters in length and can contain letters, digits, and… |
| DisplayName | string | yes | The display name of the resource group. The name must be 1 to 50 characters in length |
| Tag | string | no | The tags (JSON-encoded) |

### Creates a role by calling CreateRole
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/create-role` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RoleName | string | yes | The name of the role. The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), and hyphens (-) |
| Description | string | no | The description of the role. The description must be 1 to 1,024 characters in length |
| AssumeRolePolicyDocument | string | yes | The content of the access policy for assuming the role. Specifies one or more entities that are allowed to assume the role. The trusted… |
| MaxSessionDuration | integer | no | The maximum session duration of the role. Valid values: 3600 to 43200. Unit: seconds. Default value: 3600. If this parameter is left… |

### Creates a service-linked role
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/create-service-linked-role` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ServiceName | string | yes | The service name. For more information, see https://help.aliyun.com/document_detail/461722.html |
| CustomSuffix | string | no | The suffix of the role name. The total length of the role name (including the suffix) must be 1 to 64 characters and can contain letters,… |
| Description | string | no | The description of the service-linked role. Only service-linked roles that allow custom suffixes can have a custom role description.… |

### Declines a handshake invitation by the invited Alibaba Cloud account
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/decline-handshake` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| HandshakeId | string | yes | The handshake ID |

### Deletes a member of the resource account type by calling DeleteAccount
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/delete-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The ID of the member to delete |
| AbandonableCheckId | string | no | The ID of the check item that you can choose to abandon and continue with the member deletion. You can obtain this ID from the… |

### Deletes an automatic group transfer rule
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/delete-auto-grouping-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RuleId | string | yes | The rule ID |

### Deletes a custom control policy
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/delete-control-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyId | string | yes | The ID of the control policy |

### Deletes a folder
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/delete-folder` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| FolderId | string | yes | The folder ID |

### Deletes a specified access policy
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/delete-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyName | string | yes | Policy Name of the access policy. Policy Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-) |

### Deletes a version of an access policy
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/delete-policy-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyName | string | yes | Policy Name of the access policy. Policy Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-) |
| VersionId | string | yes | The ID of the access policy version. You can call https://help.aliyun.com/document_detail/159982.html to query access policy version IDs |

### Deletes a resource group
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/delete-resource-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ResourceGroupId | string | yes | The resource group ID. You can call https://help.aliyun.com/document_detail/158855.html to query the resource group ID |

### Deletes a role
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/delete-role` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RoleName | string | yes | The role name. The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), and hyphens (-) |

### Deletes a service-linked role
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/delete-service-linked-role` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RoleName | string | yes | The role name |

### Calls the DeregisterDelegatedAdministrator operation to remove the delegated administrator account of a…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/deregister-delegated-administrator` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The UID of a member account in the resource directory |
| ServicePrincipal | string | yes | The identifier of the trusted service. For more information, see the `Trusted Service Identifier` column in… |

### Closes a resource directory by calling DestroyResourceDirectory. This operation is irreversible. Proceed…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/destroy-resource-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Detaches a control policy from a resource folder or member
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/detach-control-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyId | string | yes | The ID of the control policy |
| TargetId | string | yes | The ID of the target node. Valid values: Root ID: detaches the control policy from the Root resource folder. Resource folder ID: detaches… |

### Detaches an access policy from a specified identity. After the policy is detached, the identity loses the…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/detach-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ResourceGroupId | string | yes | The ID of the resource group or the ID of the Alibaba Cloud account that owns the resource group. Specifies the resource group or Alibaba… |
| PolicyType | string | yes | The type of the access policy. Valid values: Custom: custom policy. System: system policy |
| PolicyName | string | yes | Policy Name of the access policy. Policy Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-) |
| PrincipalType | string | yes | The authorization object type. Valid values: IMSUser: Resource Access Management (RAM) user. IMSGroup: RAM user group. ServiceRole: RAM role |
| PrincipalName | string | yes | The name of the object from which you want to detach the policy |

### Disables the attached-resource allocation feature for associated resources
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/disable-associated-transfer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Disables automatic resource group transfer. After this feature is disabled, the custom condition rules and…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/disable-auto-grouping` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Disables the control policy feature
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/disable-control-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Disables a resource group event notification that is currently enabled. If the notification is already…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/disable-resource-group-notification` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Enables the attached-resource allocation feature for resource group transfers
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/enable-associated-transfer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Enables automatic grouping. After automatic grouping is enabled, you can create, update, delete, and query…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/enable-auto-grouping` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Enables the control policy feature by calling EnableControlPolicy
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/enable-control-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Enables a resource directory
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/enable-resource-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| MAName | string | no | The name of the new management account. Format: ` @rdadmin.aliyunid.com`. The prefix can contain letters, digits, and the special… |
| MASecureMobilePhone | string | no | The secure phone number of the new management account. If you leave this parameter empty, the secure phone number of the current logon… |
| VerificationCode | string | no | The verification code. You can call https://help.aliyun.com/document_detail/364248.html to obtain the verification code |
| EnableMode | string | yes | The method used to enable the resource directory. Valid values: CurrentAccount: enables the resource directory by using the current logon… |

### Enables resource group event notifications by calling EnableResourceGroupNotification
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/enable-resource-group-notification` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Calls GetAccount to retrieve member account information
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The member account ID |
| IncludeTags | string | no | Specifies whether to return tag information. Valid values: false (default): Does not return tag information. true: Returns tag information |

### Queries the result of a member deletion check by calling GetAccountDeletionCheckResult
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-account-deletion-check-result` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The ID of the member account that you want to delete |

### Queries the deletion status of a member account
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-account-deletion-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The ID of the member account |

### Queries the information about an automatic resource group transfer rule
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-auto-grouping-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RuleId | string | yes | The rule ID |

### Queries the status of automatic resource group transfer settings by calling GetAutoGroupingStatus
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-auto-grouping-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Queries the details of a control policy
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-control-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyId | string | yes | The ID of the control policy |
| Language | string | no | The language in which the control policy description is returned. Valid values: zh-CN (default): Chinese. en: English. ja: Japanese. This… |

### Queries the enabling status of the control policy feature
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-control-policy-enablement-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Calls GetFolder to retrieve the information about a folder
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-folder` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| FolderId | string | yes | The folder ID |

### Retrieves handshake information by calling GetHandshake
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-handshake` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| HandshakeId | string | yes | The handshake ID |

### Retrieves the billing account information of a member account by calling GetPayerForAccount
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-payer-for-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The ID of the member account |

### Retrieves information about a specified access policy
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyName | string | yes | Policy Name of the access policy. Policy Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-) |
| PolicyType | string | yes | The type of the access policy. Valid values: Custom: custom policy. System: system policy |
| Language | string | no | The language type. The description of the system access policy is returned in this language. Valid values: en: English. zh-CN: Chinese.… |

### Retrieves a version of an access policy
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-policy-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyType | string | yes | The type of the access policy. Valid values: Custom: custom policy. System: system policy |
| PolicyName | string | yes | Policy Name of the access policy. Policy Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-) |
| VersionId | string | yes | The ID of the access policy version |

### Queries resource directory information. When called by a management account, returns the details of the…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-resource-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Queries the information about a resource group
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-resource-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ResourceGroupId | string | yes | The resource group ID. You can call https://help.aliyun.com/document_detail/158855.html to query resource group IDs |
| IncludeTags | string | no | Specifies whether to return tag information. Valid values: false (default): does not return tag information. true: returns tag information |

### Queries the administrator settings of a resource group
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-resource-group-admin-setting` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Queries the notification settings of a resource group by calling GetResourceGroupNotificationSetting
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-resource-group-notification-setting` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Queries the resource count in visible resource groups
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-resource-group-resource-counts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ResourceTypes | string | no | The list of resource types (JSON-encoded) |
| GroupByKey | string | no | The grouping dimension for resource count statistics. Specify a grouping dimension. If you do not specify a grouping dimension, the… |
| ResourceGroupId | string | no | The resource group ID. You can call https://help.aliyun.com/document_detail/2716558.html to obtain the resource group ID |
| ResourceRegionId | string | no | The region to which the resource belongs |

### Queries the information about a role by calling GetRole
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-role` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RoleName | string | yes | The role name. The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), and hyphens (-) |
| Language | string | no | The language type. The role description is returned in the specified language. Valid values: en: English. zh-CN: Chinese. ja: Japanese |

### Queries the status of a task that deletes a service-linked role
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/get-service-linked-role-deletion-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| DeletionTaskId | string | no | The ID of the deletion task |

### Calls InitResourceDirectory to enable a resource directory. After you enable a resource directory, the…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/init-resource-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Invites an external account to join a resource directory
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/invite-account-to-resource-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| TargetEntity | string | yes | The ID or logon email address of the account that is invited |
| TargetType | string | yes | The type of the account that is invited. Valid values: Account: account ID. Email: logon email address of the account |
| Note | string | no | The remarks. Maximum length: 1024 characters |
| Tag | string | no | The tags (JSON-encoded) |

### Queries the list of all member accounts in a resource directory by calling ListAccounts
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-accounts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |
| Tag | string | no | The tags used to filter member accounts (JSON-encoded) |
| IncludeTags | string | no | Specifies whether to return tag information. Valid values: false (default): does not return tag information. true: returns tag information |

### Queries the list of member accounts in a resource folder by calling ListAccountsForParent
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-accounts-for-parent` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ParentFolderId | string | no | The ID of the resource folder |
| QueryKeyword | string | no | The query keyword, such as the member name. Fuzzy match is supported |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |
| Tag | string | no | The tags used to filter member accounts (JSON-encoded) |
| IncludeTags | string | no | Specifies whether to return tag information. Valid values: false (default): Does not return tag information. true: Returns tag information |

### Queries information about all parent folders of a specified folder. The results are displayed in order from…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-ancestors` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ChildId | string | yes | The ID of the child folder |

### Retrieves the settings of the associated resource group transfer feature
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-associated-transfer-setting` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

### Lists auto-grouping remediation records
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-auto-grouping-remediations` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| NextToken | string | no | The pagination token that marks the position from which to start reading. If this parameter is left empty, data is read from the beginning |
| MaxResults | integer | no | The maximum number of records to return in this request |
| RuleId | string | yes | The rule ID |
| Service | string | no | The cloud service ID. You can obtain the cloud service ID from the Cloud Service Code column in… |
| ResourceType | string | no | The resource type. You can obtain the resource type from the Resource Type column in https://help.aliyun.com/document_detail/94479.html |
| ResourceId | string | no | The resource ID |
| TargetResourceGroupId | string | no | The ID of the target resource group for remediation |
| EarliestRemediationTime | string | no | The earliest time. This parameter is empty by default. The format is YYYY-MM-DD HH:mm:ss without a time zone identifier |
| LatestRemediationTime | string | no | The latest time. This parameter is empty by default. The format is YYYY-MM-DD HH:mm:ss without a time zone identifier |

### Queries the list of automatic group transfer rules
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-auto-grouping-rules` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RuleId | string | no | The rule ID |
| RuleName | string | no | The rule name |
| RuleType | string | no | The rule type. Valid values: custom_condition: custom rule-based group transfer. associated_transfer: attached-resource allocation group… |
| NextToken | string | no | If the response is truncated, you can use NextToken to send another request to retrieve the content after the current truncation point |
| MaxResults | integer | no | The maximum number of entries to return in a single request. Valid values: 1 to 50 |

### Queries a list of control policies
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-control-policies` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyType | string | no | The type of the control policy. Valid values: System: system control policy. Custom: custom control policy |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |
| Language | string | no | The language in which you want the description of the control policy to be returned. Valid values: zh-CN (default): Chinese. en: English.… |

### Queries the list of control policies attached to a resource folder or member account
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-control-policy-attachments-for-target` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| TargetId | string | yes | The target node. Valid values: Root ID: queries the control policies attached to the Root node. Resource folder ID: queries the control… |
| Language | string | no | The language in which the control policy descriptions are returned. Valid values: zh-CN (default): Chinese. en: English. ja: Japanese.… |

### Queries the list of delegated administrator accounts for a trusted service
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-delegated-administrators` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ServicePrincipal | string | no | The identifier of the trusted service. For more information, see the `Trusted Service Identifier` column in… |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |

### Queries the trusted services for which a specified member is set as a delegated administrator account
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-delegated-services-for-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The member ID |

### Queries the subfolders of a specified folder
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-folders-for-parent` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ParentFolderId | string | no | The ID of the parent folder. If you leave this parameter empty, the subfolders at the next level of the Root folder are queried |
| QueryKeyword | string | no | The query keyword, such as a folder name. Fuzzy match is supported |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |

### Queries the invitation records under the current account
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-handshakes-for-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |

### Queries all invitations in a resource directory
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-handshakes-for-resource-directory` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |

### Calls ListPolicies to query a list of access policies
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-policies` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyType | string | no | The type of the access policy. If this parameter is left empty, all types of access policies are listed. Custom: custom policy. System:… |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |
| Language | string | no | The language type. The description of the system access policy is returned in the specified language. en: English. zh-CN: Chinese. ja:… |

### Queries the list of policy attachments by calling ListPolicyAttachments
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-policy-attachments` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ResourceGroupId | string | no | The ID of the resource group or the Alibaba Cloud account ID to which the resource group belongs. If this parameter is left empty, all… |
| PolicyType | string | no | The type of the access policy. If this parameter is left empty, all types of access policies are listed. Custom: custom policy. System:… |
| PolicyName | string | no | Policy Name of the access policy. Policy Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-) |
| PrincipalType | string | no | The authorization object type. If this parameter is left empty, all types of authorization objects are listed. IMSUser: Resource Access… |
| PrincipalName | string | no | The name of the principal |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |
| Language | string | no | The language type. The description of the system access policy is returned in the specified language. en: English. zh-CN: Chinese. ja:… |

### Queries the versions of an access policy
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-policy-versions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyType | string | yes | The type of the access policy. Valid values: Custom: custom policy. System: system policy |
| PolicyName | string | yes | Policy Name of the access policy. Policy Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-) |

### Lists the capability items of resource groups
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-resource-group-capability` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| Service | string | no | The cloud service ID. You can obtain the cloud service ID from the Cloud Service Code column in… |
| ResourceType | string | no | The resource type. You can obtain the resource type from the Resource Type column in https://help.aliyun.com/document_detail/94479.html |
| SupportResourceGroupEvent | string | no | Specifies whether resource group events are supported |

### Queries the list of resource groups
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-resource-groups` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| Status | string | no | The resource group status. This parameter is used as a filter condition. Valid values: Creating: The resource group is being created. OK:… |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |
| ResourceGroupId | string | no | The resource group ID. This parameter is used as a filter condition. The value cannot exceed 18 characters in length and must start with… |
| DisplayName | string | no | The display name of the resource group. This parameter is used as a filter condition. Fuzzy match is supported. The value cannot exceed 50… |
| Name | string | no | The unique identifier of the resource group. This parameter is used as a filter condition. Fuzzy match is supported. The value cannot… |
| Tag | string | no | The tags. This parameter is used as a filter condition. You can specify up to 20 tags (JSON-encoded) |
| IncludeTags | string | no | Specifies whether to return tag information. Valid values: false (default): Tag information is not returned. true: Tag information is… |
| ResourceGroupIds | string | no | The list of resource group IDs. This parameter is used as a filter condition. You can specify up to 100 resource group IDs. If you set… |

### Lists resource groups along with user authorization details
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-resource-groups-with-auth-details` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| Status | string | no | The status of the resource group. This parameter is used as a filter condition. Valid values: Creating: Being created. OK: Created.… |
| PageNumber | integer | no | The page number |
| PageSize | integer | no | The number of entries per page |
| DisplayName | string | no | The display name of the resource group. This parameter is used as a filter condition. Fuzzy match is supported. The name can be up to 50… |
| Name | string | no | The unique identifier of the resource group. This parameter is used as a filter condition. Fuzzy match is supported. The identifier can be… |
| Tag | string | no | The tags (JSON-encoded) |
| IncludeTags | string | no | Specifies whether to return tag information. Valid values: false (default): Does not return tag information. true: Returns tag… |
| ResourceGroupIds | string | no | The list of resource group IDs (JSON-encoded) |
| ResourceTypes | string | no | The list of resource types (JSON-encoded) |
| ResourceRegionId | string | no | The region ID of the resource |

### Queries the resources in the resource groups accessible to the current account
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ResourceGroupId | string | no | The ID of the resource group |
| Service | string | no | The code of the cloud service. You can obtain the code from the Cloud Service Code column in… |
| Region | string | no | The region ID |
| ResourceType | string | no | The resource type. You can obtain the resource type from the Resource Type column in https://help.aliyun.com/document_detail/94479.html |
| ResourceId | string | no | The ID of the resource |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |
| Count | string | no | Specifies whether to query the total number of resources. Default value: true. Valid values: true: Queries the total number of resources… |
| ResourceTypes | string | no | The list of resource types. A maximum of 50 resource types are supported. If you configure the Settings for ResourceTypes, the Service and… |

### Queries the list of roles by calling ListRoles
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-roles` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |
| Language | string | no | The language type. The role description is returned in the specified language. Valid values: en: English. zh-CN: Chinese. ja: Japanese |

### Queries the tag key list of resource directory member accounts by calling ListTagKeys
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-tag-keys` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| NextToken | string | no | The token that determines the start point of the next query |
| MaxResults | integer | no | The maximum number of entries to return in a single request. Valid values: 1 to 100. Default value: 10 |
| ResourceType | string | yes | The resource type. Set this parameter to Account, which indicates a member account of a resource directory |
| KeyFilter | string | no | The tag key for fuzzy match |

### Queries the tags that are attached to a resource group or a resource directory member
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-tag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| NextToken | string | no | The token that is used to start the next query |
| MaxResults | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |
| Tag | string | no | The tags. This parameter is used as a filter condition. You can specify up to 20 tags (JSON-encoded) |
| ResourceId | string | no | The resource group ID or resource directory member ID. This parameter is used as a filter condition. To query the tags that are attached… |
| ResourceType | string | no | The resource type. This parameter is used as a filter condition. Valid values: ResourceGroup (default): queries the tags of a resource… |

### Queries the tag values of a specified tag key by calling ListTagValues
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-tag-values` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| NextToken | string | no | The token that is used to start the next query |
| MaxResults | integer | no | The maximum number of entries to return in a single request. Valid values: 1 to 100. Default value: 10 |
| ResourceType | string | yes | The resource type. Set the value to Account, which indicates a member of a resource directory |
| TagKey | string | yes | The tag key that is used as a filter condition for the query |
| ValueFilter | string | no | The tag value for fuzzy match |

### Queries the nodes to which a control policy is attached
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-target-attachments-for-control-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyId | string | yes | The ID of the control policy |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |

### Queries the list of trusted services enabled by the management account or a delegated administrator account
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/list-trusted-service-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PageNumber | integer | no | The page number. Minimum value: 1. Default value: 1 |
| PageSize | integer | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |
| AdminAccountId | string | no | The management account or delegated administrator account. Valid values: Management account (default): Queries the list of trusted… |

### Queries resource group events
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/lookup-resource-group-events` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| StartTime | string | no | The start time of the event. The format is YYYY-MM-DD HH:mm:ss and does not include a time zone identifier |
| EndTime | string | no | The end time of the event. The format is YYYY-MM-DD HH:mm:ss and does not include a time zone identifier |
| EventCategory | string | yes | The event type |
| ResourceGroupId | string | no | The resource group ID |
| NextToken | string | no | The pagination token for the next query |
| MaxResults | string | no | The number of entries per page. Valid values: 1 to 100. Default value: 10 |
| LookupAttributes | string | no | The lookup attributes (JSON-encoded) |
| ResourceGroupDisplayName | string | no | The resource group name |

### Moves a member to another folder
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/move-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The ID of the account to be moved |
| DestinationFolderId | string | yes | The ID of the destination folder |

### Calls MoveResources to move resources from one resource group to another
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/move-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ResourceGroupId | string | yes | The ID of the destination resource group |
| Resources | string | yes | The list of resources to move. A maximum of 10 resources can be moved at a time. Move resources in batches if you have more than 10… |

### Upgrades a resource account to an Alibaba Cloud account. This is an asynchronous operation
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/promote-resource-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The ID of the resource account to upgrade |
| Email | string | yes | The logon email address of the Alibaba Cloud account after the upgrade |

### Sets a member account in a resource directory as a delegated administrator account for a trusted service
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/register-delegated-administrator` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The UID of a member account in the resource directory |
| ServicePrincipal | string | yes | The identifier of the trusted service. For more information, see the `Trusted service identifier` column in… |

### Removes a member of the cloud account type. After the member is removed, it exists as an independent Alibaba…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/remove-cloud-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The member ID |

### Resends the confirmation email for creating a cloud account
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/resend-create-cloud-account-email` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RecordId | string | yes | The account record ID |

### Resends the confirmation email for upgrading a resource account to a cloud account
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/resend-promote-resource-account-email` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RecordId | string | yes | The account record ID |

### Resends the confirmation email for changing the email address of a member account
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/retry-change-account-email` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| AccountId | string | yes | The member account ID |

### Sends a verification code to a secure phone number when you set the secure phone number for a member of the…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/send-verification-code-for-bind-secure-mobile-phone` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| SecureMobilePhone | string | yes | The secure phone number. Format: - . Only phone numbers in the Chinese mainland in the format of `86- ` are supported. Phone numbers in… |
| AccountId | string | yes | The account ID of the member |

### Sends a verification code to the secure phone number of a new management account when you call…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/send-verification-code-for-enable-rd` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| SecureMobilePhone | string | no | The secure phone number of the new management account. If you leave this parameter empty, the secure phone number of the current logon… |

### Sets the default version of an access policy
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/set-default-policy-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyName | string | yes | Policy Name of the access policy. Policy Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-) |
| VersionId | string | yes | The ID of the access policy version |

### Enables or disables the member deletion permission by calling SetMemberDeletionPermission
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/set-member-deletion-permission` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| Status | string | yes | Specifies whether to enable or disable the member deletion permission. Valid values: Enabled: enables the member deletion permission.… |

### Attaches labels to resource groups or member accounts of a resource directory
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/tag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ResourceId | string | yes | The ID of the resource group or the ID of the resource directory member account. You can specify up to 50 IDs (JSON-encoded) |
| Tag | string | yes | The labels. You can attach up to 20 labels (JSON-encoded) |
| ResourceType | string | no | The resource type. Valid values: ResourceGroup (default): attaches labels to resource groups. Account: attaches labels to member accounts… |

### Unbinds tags from resource groups or resource directory members
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/untag-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| All | string | no | Specifies whether to unbind all tags from the specified resource group or resource directory member. Valid values: false (default): No.… |
| ResourceId | string | yes | The ID of the resource group or resource directory member. You can specify up to 50 IDs (JSON-encoded) |
| TagKey | string | no | The tag key. You can unbind up to 20 tag keys. If the `All` parameter for unbinding all tags is set to `true`, you do not need to specify… |
| ResourceType | string | no | The resource type. Valid values: ResourceGroup (default): Unbinds tags from a resource group. Account: Unbinds tags from a resource… |

### Modifies the name of a member or switches the member type by calling UpdateAccount
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/update-account` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| NewDisplayName | string | no | The new name of the member. Set either NewDisplayName or NewAccountType. You cannot set both of them at the same time |
| NewAccountType | string | no | The new type of the member. Valid values: ResourceAccount: switches the specified cloud account to a resource account. CloudAccount:… |
| AccountId | string | yes | The ID of the member |

### Updates the settings of the associated resource group transfer feature by calling…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/update-associated-transfer-setting` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RuleSettings | string | no | The rule settings of the associated resource group transfer feature (JSON-encoded) |
| EnableExistingResourcesTransfer | string | no | Specifies whether to start the task for transferring existing associated resources to the resource group. Valid values: false: Does not… |

### Calls UpdateAutoGroupingConfig to update the automatic group transfer settings. Currently, only the setting…
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/update-auto-grouping-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| EnableExistingResourcesTransfer | string | no | Specifies whether to enable existing associated resources to follow the group transfer task. Valid values: false: Existing associated… |

### Updates an automatic resource group transfer rule by calling UpdateAutoGroupingRule
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/update-auto-grouping-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RuleId | string | yes | The rule ID |
| RuleName | string | yes | The rule name |
| RuleDesc | string | no | The rule description |
| RuleContents | string | yes | The list of rule contents (JSON-encoded) |
| ResourceGroupIdsScope | string | no | The scope of resource group IDs. Separate multiple resource group IDs with commas (,) |
| ExcludeResourceGroupIdsScope | string | no | The excluded scope of resource group IDs. Separate multiple resource group IDs with commas (,) |
| RegionIdsScope | string | no | The scope of region IDs. Separate multiple region IDs with commas (,) |
| ExcludeRegionIdsScope | string | no | The excluded scope of region IDs. Separate multiple region IDs with commas (,) |
| ResourceIdsScope | string | no | The scope of resource IDs. Separate multiple resource IDs with commas (,) |
| ExcludeResourceIdsScope | string | no | The excluded scope of resource IDs. Separate multiple resource IDs with commas (,) |
| ResourceTypesScope | string | no | The scope of resource types. Separate multiple resource types with commas (,) |
| ExcludeResourceTypesScope | string | no | The excluded scope of resource types. Separate multiple resource types with commas (,) |

### Modifies a custom control policy by calling UpdateControlPolicy
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/update-control-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| PolicyId | string | yes | The ID of the control policy |
| NewPolicyName | string | no | The new Policy Name of the control policy. The name must be 1 to 128 characters in length, must start with a letter, and can contain… |
| NewDescription | string | no | The new description of the control policy. The description must be 1 to 1,024 characters in length, must start with a letter, and can… |
| NewPolicyDocument | string | no | The new document of the control policy. The maximum length is 4,096 characters. For information about the control policy language, see… |

### Modifies the name of a folder by calling UpdateFolder
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/update-folder` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| FolderId | string | yes | The folder ID |
| NewFolderName | string | yes | The new folder name. The name must be 1 to 24 characters in length and can contain letters, digits, underscores (_), periods (.), and… |

### Modifies the display name of a resource group
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/update-resource-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| ResourceGroupId | string | yes | The resource group ID. You can call https://help.aliyun.com/document_detail/158855.html to obtain the resource group ID |
| NewDisplayName | string | yes | The display name of the resource group. The name must be 1 to 50 characters in length |

### Updates the administrator settings of a resource group by calling UpdateResourceGroupAdminSetting
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/update-resource-group-admin-setting` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| CreatorAsAdmin | string | yes | Specifies whether to set the resource group creator as the resource group administrator |

### Updates the information of a RAM role
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/update-role` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |
| RoleName | string | yes | The name of the RAM role. The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), and hyphens (-) |
| NewAssumeRolePolicyDocument | string | no | The trust policy of the RAM role |
| NewMaxSessionDuration | integer | no | The maximum session duration of the RAM role. Valid values: 3600 to 43200. Unit: seconds. Default value: 3600. If this parameter is left… |
| NewDescription | string | no | The description of the RAM role. The description must be 1 to 1024 characters in length |

### version
`POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://resourcemanager.aliyuncs.com |

## Example
```
curl "https://apizie.tech/v1/cloud:aliyun-resourcemanager/accept-handshake" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud Resource Management API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:aliyun-resourcemanager/accept-handshake with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Alibaba Cloud Resource Management API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Alibaba Cloud Resource Management itself also needs your own key from aliyuncs.com.

### Can AI agents use the Alibaba Cloud Resource Management API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:aliyun-resourcemanager.

### What is the status of the Alibaba Cloud Resource Management API?
Needs your own provider key (bring your own key)
