检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
IAM users can delete themselves. Deleting an IAM User Log in to the IAM console. In the navigation pane, choose Users. Locate the IAM user to be deleted and click Delete in the Operation column. In the displayed dialog box, click OK.
Ensure that services are not affected and then delete or disable the original access key. For details, see Access Keys. Each IAM user can create a maximum of two access keys. The quota cannot be increased.
Modifying or Deleting a Custom Policy You can modify or delete custom policies. Modifying a Custom Policy Modify the name, description, or content of a custom policy. In the left navigation pane on the IAM console, choose Permissions > Policies/Roles.
The following is an example policy containing multiple actions: { "Version": "1.1", "Statement": [ { "Action": [ "ecs:cloudServers:resize", "ecs:cloudServers:delete", "ecs:cloudServers:delete",
URI DELETE /v3.0/OS-PERMISSION/enterprise-projects/{enterprise_project_id}/groups/{group_id}/roles/{role_id} Table 1 URI parameters Parameter Mandatory Type Description enterprise_project_id Yes String Enterprise project ID. group_id Yes String User group ID. role_id Yes String Permission
URI DELETE /v3.0/OS-PERMISSION/enterprise-projects/{enterprise_project_id}/users/{user_id}/roles/{role_id} Table 1 URI parameters Parameter Mandatory Type Description enterprise_project_id Yes String Enterprise project ID. user_id Yes String User ID. role_id Yes String Permission
Deleting User Groups Procedure To delete a user group, do the following: Log in to the IAM console. In the navigation pane, choose User Groups. In the user group list, click Delete in the row that contains the user group to be deleted.
URI DELETE /v3/OS-FEDERATION/identity_providers/{id} Table 1 URI parameters Parameter Mandatory Type Description id Yes String ID of the identity provider to be deleted.
URI DELETE /v3.0/OS-MFA/virtual-mfa-devices Table 1 Query parameters Parameter Mandatory Type Description user_id Yes String ID of the IAM user whose MFA device is to be deleted.
Deleting an Agency To delete an agency, click Delete in the row containing the agency to be deleted and click OK. Figure 2 Deleting an agency Batch Deleting Agencies To delete multiple agencies, select the agencies to be deleted in the list and click Delete above the list.
URI DELETE /v3/users/{user_id} Table 1 URI parameters Parameter Mandatory Type Description user_id Yes String IAM user ID. For details about how to obtain a user ID, see Obtaining Account, IAM User, Group, Project, Region, and Agency Information.
Response Parameters Table 3 Parameters in the response body Parameter Type Description message String Response message Example Request Request for deleting a custom policy DELETE https://iam.myhuaweicloud.com/v3.0/OS-ROLE/roles/{role_id} Example Response { "message":"Delete success
Figure 3 Viewing a user group On the Permissions page, select the roles or policies you want to delete and click Delete above the list. Figure 4 Batch revoking permissions In the displayed dialog box, click OK. Parent topic: User Groups and Authorization
URI DELETE /v3/groups/{group_id} Table 1 URI parameters Parameter Mandatory Type Description group_id Yes String User group ID. For details about how to obtain a user group ID, see Obtaining Account, IAM User, Group, Project, Region, and Agency Information.
URI DELETE /v3/OS-FEDERATION/mappings/{id} Table 1 URI parameters Parameter Mandatory Type Description id Yes String ID of the mapping to be deleted.
credentials:getCredential - - Creating a Permanent Access Key POST /v3.0/OS-CREDENTIAL/credentials iam:credentials:createCredential - - Modifying a Permanent Access Key PUT /v3.0/OS-CREDENTIAL/credentials/{access_key} iam:credentials:updateCredential - - Deleting a Permanent Access Key DELETE
Deleting a Permanent Access Key Function This API can be used by the administrator to delete the specified permanent access key of an IAM user or used by an IAM user to delete one of their own permanent access keys.
Deleting an Agency Function This API is provided for the administrator to delete an agency. The API can be called using both the global endpoint and region-specific endpoints. For IAM endpoints, see Regions and Endpoints. Debugging You can debug this API in API Explorer.
Disable and delete the original access key of the account. Deleted access keys cannot be restored. Disable the access keys and verify that services are not affected before deleting them.
Deleting a Protocol Function This API is provided for the administrator to delete the protocol associated with a specified identity provider. The API can be called using both the global endpoint and region-specific endpoints. For IAM endpoints, see Regions and Endpoints.