You can delete members of the resource account type from your resource directory only after you enable the member deletion feature for your resource directory. You can disable the member deletion feature at any time to prohibit the deletion of such members.
Background information
You can use only the root user of the management account of your resource directory or a RAM user or RAM role to which the AliyunResourceDirectoryFullAccess policy is attached within the management account to enable or disable the member deletion feature.
Enable the member deletion feature
Log on to the Resource Management console.
In the left-side navigation pane, choose .
In the Member Deletion section of the Settings page, read the usage notes and click Enable Member Deletion.
Disable the member deletion feature
Log on to the Resource Management console.
In the left-side navigation pane, choose .
In the Member Deletion section of the Settings page, click Disable Member Deletion.