This product(
ResourceDirectoryMaster/2022-04-19
) OpenAPI adopts RPC Signature style. See signature details in Description of the signature mechanism. We have packaged SDKs for common programming languages for developers. Developers can directly call the OpenAPI of this product by downloading the SDK without paying attention to the technical details. If the existing SDK cannot meet the usage requirements, you can connect through the signature mechanism. It will take about 5 working days. Therefore, it is recommended to join our DingTalk service group (11370001915) and sign under the guidance of experts. Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (SDK, CLI, etc.). For details see getAccessKey.
Services
API | Title | Description |
---|---|---|
EnableResourceDirectory | EnableResourceDirectory | Enables a resource directory. |
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. |
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 the resource directory to which the member belongs. |
DestroyResourceDirectory | DestroyResourceDirectory | Disables a resource directory. This operation cannot be undone. Therefore, proceed with caution. |
Folders
API | Title | Description |
---|---|---|
CreateFolder | CreateFolder | Creates a folder. |
GetFolder | GetFolder | Queries the information about a folder. |
DeleteFolder | DeleteFolder | Deletes a folder. |
ListFoldersForParent | ListFoldersForParent | Queries the information of all subfolders of a folder. |
UpdateFolder | UpdateFolder | Changes the name of a folder. |
ListAncestors | ListAncestors | Queries the information of all the parent folders of a specified folder. |
Members
API | Title | Description |
---|---|---|
CreateResourceAccount | CreateResourceAccount | Creates a member of the resource account type. |
GetAccount | GetAccount | Queries the information of a member. |
MoveAccount | MoveAccount | Moves a member from a folder to another. |
UpdateAccount | UpdateAccount | Changes the display name of a member, or switches the type of a member. |
ListAccounts | ListAccounts | Queries all the members in a resource directory. |
RemoveCloudAccount | RemoveCloudAccount | Removes a member of the cloud account type. |
ListAccountsForParent | ListAccountsForParent | Queries the information of members in a folder. |
GetPayerForAccount | GetPayerForAccount | Queries the information of a billing account. |
InviteAccountToResourceDirectory | InviteAccountToResourceDirectory | Invites an account to join a resource directory. |
AcceptHandshake | AcceptHandshake | Accepts an invitation. |
GetHandshake | GetHandshake | Queries the information of an invitation. |
DeclineHandshake | DeclineHandshake | Rejects an invitation. |
CancelHandshake | CancelHandshake | Cancels an invitation. |
ListHandshakesForAccount | ListHandshakesForAccount | Queries the invitations that are associated with an account. |
ListHandshakesForResourceDirectory | ListHandshakesForResourceDirectory | Queries invitations in a resource directory. |
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. |
BindSecureMobilePhone | BindSecureMobilePhone | Binds a mobile phone number to a member of the resource account type in a resource directory for security purposes. |
SetMemberDeletionPermission | SetMemberDeletionPermission | Enables or disables the member deletion feature. |
CheckAccountDelete | CheckAccountDelete | Performs a member deletion check. |
GetAccountDeletionCheckResult | GetAccountDeletionCheckResult | Queries the result of a member deletion check. |
DeleteAccount | DeleteAccount | Deletes a member of the resource account type. |
GetAccountDeletionStatus | GetAccountDeletionStatus | Queries the deletion status of a member. |
TagResources | TagResources | Adds tags to the members in a resource directory. |
UntagResources | UntagResources | Removes tags from the members in a resource directory. |
ListTagResources | ListTagResources | Queries the tags that are added to the members in a resource directory. |
ListTagKeys | ListTagKeys | Queries tag keys. |
ListTagValues | ListTagValues | Queries the tag values of a tag key. |
ChangeAccountEmail | ChangeAccountEmail | Changes the email address that is bound to a member. |
RetryChangeAccountEmail | RetryChangeAccountEmail | Resends a verification email for the email address change of a member. |
CancelChangeAccountEmail | CancelChangeAccountEmail | Cancels the email address change of a member. |
AddMessageContact | AddMessageContact | Adds a contact. |
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. |
ListMessageContactVerifications | ListMessageContactVerifications | Queries the mobile phone number or email address to be verified for a contact. |
AssociateMembers | AssociateMembers | Binds a contact to a resource directory, folder, or member. |
DisassociateMembers | DisassociateMembers | Unbinds a contact from a resource directory, folder, or member. |
GetMessageContact | GetMessageContact | Queries the information about a contact. |
ListMessageContacts | ListMessageContacts | Queries contacts. |
DeleteMessageContact | DeleteMessageContact | Deletes a contact. |
GetMessageContactDeletionStatus | GetMessageContactDeletionStatus | Queries the deletion status of a contact. |
UpdateMessageContact | UpdateMessageContact | Updates a contact. |
CancelMessageContactUpdate | CancelMessageContactUpdate | Cancels the update of the mobile phone number or email address of a contact. |
PrecheckForConsolidatedBillingAccount | PrecheckForConsolidatedBillingAccount | Checks whether a management account or member can be used as a main financial account. |
Access control policies
API | Title | Description |
---|---|---|
EnableControlPolicy | EnableControlPolicy | Enables the Control Policy feature. |
DisableControlPolicy | DisableControlPolicy | Disables the Control Policy feature. |
GetControlPolicyEnablementStatus | GetControlPolicyEnablementStatus | Queries the status of the Control Policy feature. |
CreateControlPolicy | CreateControlPolicy | Creates a custom access control policy. |
GetControlPolicy | GetControlPolicy | Queries the details of an access control policy. |
ListControlPolicies | ListControlPolicies | Queries access control policies. |
UpdateControlPolicy | UpdateControlPolicy | Updates a custom access control policy. |
DeleteControlPolicy | DeleteControlPolicy | Deletes a custom access control policy. |
AttachControlPolicy | AttachControlPolicy | Attaches an access control policy. |
DetachControlPolicy | DetachControlPolicy | Detaches an access control policy. |
ListControlPolicyAttachmentsForTarget | ListControlPolicyAttachmentsForTarget | Queries the access control policies that are attached to a folder or member. |
ListTargetAttachmentsForControlPolicy | ListTargetAttachmentsForControlPolicy | Queries the objects to which an access control policy is attached. |
Trusted services
API | Title | Description |
---|---|---|
ListTrustedServiceStatus | ListTrustedServiceStatus | Queries the trusted services that are enabled within a management account or delegated administrator account. |
RegisterDelegatedAdministrator | RegisterDelegatedAdministrator | Specifies a member in a resource directory as a delegated administrator account of a trusted service. |
DeregisterDelegatedAdministrator | DeregisterDelegatedAdministrator | Removes a delegated administrator account for a trusted service. |
ListDelegatedAdministrators | ListDelegatedAdministrators | Queries delegated administrator accounts. |
ListDelegatedServicesForAccount | ListDelegatedServicesForAccount | Queries the trusted services for which a member is specified as a delegated administrator account. |