API standard and pre-built SDKs in multi-language
The OpenAPI specification of this product (ResourceDirectoryMaster/2022-04-19) follows the RPC standard. Alibaba Cloud provides pre-built SDKs for popular programming languages to abstract low-level complexities such as request signing. This enables developers to call APIs using language-specific syntax without dealing with HTTP details directly.
Custom signature
If your specific needs, such as a customized signature, are not supported by the SDK, manually sign requests using the signature mechanism. Note that manual signing requires significant effort (usually about 5 business days). For support, join our DingTalk group (ID: 147535001692).
Before you begin
An Alibaba Cloud account has full administrative privileges. A compromised AccessKey pair exposes all associated resources to unauthorized access, posing a significant security risk. Create a Resource Access Management (RAM) user with API-only access and use RAM policies to apply the principle of least privilege (PoLP). Alibaba Cloud accounts are only used when explicitly required.
To call APIs securely, configure the following:
A RAM user account
An AccessKey pair for the account
Members
|
API |
Title |
Description |
| GetAccount | GetAccount | Queries information about a member. |
| TagResources | TagResources | Attaches tags to resource directory members. |
Others
|
API |
Title |
Description |
| AcceptHandshake | AcceptHandshake | Accepts an invitation. |
| AddMessageContact | AddMessageContact | Adds a contact. |
| AssociateMembers | AssociateMembers | Binds a contact to a resource directory, folder, or member. |
| AttachControlPolicy | AttachControlPolicy | Attaches an access control policy. |
| BindSecureMobilePhone | BindSecureMobilePhone | Binds a mobile phone number to a member of the resource account type in a resource directory for security purposes. |
| CancelChangeAccountEmail | CancelChangeAccountEmail | Cancels the email address change of a member. |
| CancelHandshake | CancelHandshake | Cancels an invitation. |
| CancelMessageContactUpdate | CancelMessageContactUpdate | Cancels the update of the mobile phone number or email address of a contact. |
| ChangeAccountEmail | ChangeAccountEmail | Changes the email address that is bound to a member. |
| CheckAccountDelete | CheckAccountDelete | Performs a member deletion check. |
| CreateControlPolicy | CreateControlPolicy | Creates a custom access control policy. |
| CreateFolder | CreateFolder | Creates a folder. |
| CreateResourceAccount | CreateResourceAccount | Creates a member of the resource account type. |
| DeclineHandshake | DeclineHandshake | Rejects an invitation. |
| DeleteAccount | DeleteAccount | Deletes a member of the resource account type. |
| DeleteControlPolicy | DeleteControlPolicy | Deletes a custom access control policy. |
| DeleteFolder | DeleteFolder | Deletes a folder. |
| DeleteMessageContact | DeleteMessageContact | Deletes a contact. |
| DeregisterDelegatedAdministrator | DeregisterDelegatedAdministrator | Removes a delegated administrator account for a trusted service. |
| DestroyResourceDirectory | DestroyResourceDirectory | Disables a resource directory. This operation cannot be undone. Therefore, proceed with caution. |
| DetachControlPolicy | DetachControlPolicy | Detaches an access control policy. |
| DisableControlPolicy | DisableControlPolicy | Disables the Control Policy feature. |
| DisassociateMembers | DisassociateMembers | Unbinds a contact from a resource directory, folder, or member. |
| EnableControlPolicy | EnableControlPolicy | Enables the Control Policy feature. |
| EnableResourceDirectory | EnableResourceDirectory | Enables a resource directory. |
| GetAccountDeletionCheckResult | GetAccountDeletionCheckResult | Queries the result of a member deletion check. |
| GetAccountDeletionStatus | GetAccountDeletionStatus | Queries the deletion status of a member. |
| GetControlPolicy | GetControlPolicy | Queries the details of an access control policy. |
| GetControlPolicyEnablementStatus | GetControlPolicyEnablementStatus | Queries the status of the Control Policy feature. |
| GetFolder | GetFolder | Queries the information about a folder. |
| GetHandshake | GetHandshake | Queries the information of an invitation. |
| GetMessageContact | GetMessageContact | Queries the information about a contact. |
| GetMessageContactDeletionStatus | GetMessageContactDeletionStatus | Queries the deletion status of a contact. |
| GetPayerForAccount | GetPayerForAccount | Queries the information of a billing account. |
| GetResourceDirectory | GetResourceDirectory | Queries the information of a resource directory. If you use a management account to call this API operation, the system returns the information of the resource directory that is enabled by using the management account. If you use a member to call this operation, the system returns the information of |
| InviteAccountToResourceDirectory | InviteAccountToResourceDirectory | Invites an account to join a resource directory. |
| ListAccounts | ListAccounts | Queries a list of members in a resource directory. |
| ListAccountsForParent | ListAccountsForParent | Queries the information of members in a folder. |
| ListAncestors | ListAncestors | Queries the information of all the parent folders of a specified folder. |
| ListAuthorizedAccounts | ListAuthorizedAccounts | Queries the members that have query permissions. |
| ListAuthorizedFolders | ListAuthorizedFolders | Call ListAuthorizedFolders to list the folders that you have query permissions for. |
| ListControlPolicies | ListControlPolicies | Queries access control policies. |
| ListControlPolicyAttachmentsForTarget | ListControlPolicyAttachmentsForTarget | Queries the access control policies that are attached to a folder or member. |
| ListDelegatedAdministrators | ListDelegatedAdministrators | Queries delegated administrator accounts. |
| ListDelegatedServicesForAccount | ListDelegatedServicesForAccount | Queries the trusted services for which a member is specified as a delegated administrator account. |
| ListFoldersForParent | ListFoldersForParent | Queries the information of all subfolders of a folder. |
| ListHandshakesForAccount | ListHandshakesForAccount | Queries the invitations that are associated with an account. |
| ListHandshakesForResourceDirectory | ListHandshakesForResourceDirectory | Queries invitations in a resource directory. |
| ListMessageContactVerifications | ListMessageContactVerifications | Queries the mobile phone number or email address to be verified for a contact. |
| ListMessageContacts | ListMessageContacts | Queries contacts. |
| ListTagKeys | ListTagKeys | Queries tag keys. |
| ListTagResources | ListTagResources | Queries the tags that are added to the members in a resource directory. |
| ListTagValues | ListTagValues | Queries the tag values of a tag key. |
| ListTargetAttachmentsForControlPolicy | ListTargetAttachmentsForControlPolicy | Queries the objects to which an access control policy is attached. |
| ListTrustedServiceStatus | ListTrustedServiceStatus | Queries the trusted services that are enabled within a management account or delegated administrator account. |
| MoveAccount | MoveAccount | Moves a member from a folder to another. |
| PrecheckForConsolidatedBillingAccount | PrecheckForConsolidatedBillingAccount | Checks whether a management account or member can be used as a main financial account. |
| RegisterDelegatedAdministrator | RegisterDelegatedAdministrator | Specifies a member in a resource directory as a delegated administrator account of a trusted service. |
| RemoveCloudAccount | RemoveCloudAccount | Removes a member of the cloud account type. |
| RetryChangeAccountEmail | RetryChangeAccountEmail | Resends a verification email for the email address change of a member. |
| SendEmailVerificationForMessageContact | SendEmailVerificationForMessageContact | Sends verification information to the email address of a contact. |
| SendPhoneVerificationForMessageContact | SendPhoneVerificationForMessageContact | Sends verification information to the mobile phone number of a contact. |
| SendVerificationCodeForBindSecureMobilePhone | SendVerificationCodeForBindSecureMobilePhone | Sends a verification code to the mobile phone number that you want to bind to a member of the resource account type in a resource directory for security purposes. |
| SendVerificationCodeForEnableRD | SendVerificationCodeForEnableRD | Sends a verification code to the mobile phone number bound to a newly created account when you use the account to enable a resource directory. |
| SetMemberDeletionPermission | SetMemberDeletionPermission | Enables or disables the member deletion feature. |
| SetMemberDisplayNameSyncStatus | SetMemberDisplayNameSyncStatus | Enables or disables the Member Display Name Synchronization feature. |
| UntagResources | UntagResources | Removes tags from the members in a resource directory. |
| UpdateAccount | UpdateAccount | Changes the display name of a member, or switches the type of a member. |
| UpdateControlPolicy | UpdateControlPolicy | Updates a custom access control policy. |
| UpdateFolder | UpdateFolder | Changes the name of a folder. |
| UpdateMessageContact | UpdateMessageContact | Updates a contact. |
| UpdatePayerForAccount | UpdatePayerForAccount | Updates the billing account of a member. |