Deleting views in Resource Explorer - Amazon Resource Explorer
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Deleting views in Resource Explorer

When you no longer need an Amazon Resource Explorer view, you can delete it. You can delete views by using the Amazon Web Services Management Console or by running Amazon CLI commands or their equivalent API operations in an Amazon SDK.


You can't delete a view that is currently designated as the default for its Amazon Web Services Region. To delete the view, you must remove the view as the default. To do this, you can run the DisassociateDefaultView API operation in that Region.

Minimum permissions

To run this procedure, you must have the following permissions:

  • Action: resource-explorer-2:DeleteView

    Resource: The ARN of the view to delete

Amazon Web Services Management Console
To delete a view
  1. On the Resource Explorer console Views page, choose the option button next to the view that you want to delete.

  2. Choose Actions, and then choose Delete.

  3. In the confirmation dialog box, type the name of the view, and then choose Delete.

Amazon CLI
To delete a view

Run the following command to delete the view with the specified Amazon Resource Name (ARN).

$ aws resource-explorer-2 delete-view \ --view-arn arn:aws-cn:resource-explorer-2:cn-north-1:123456789012:view/MyViewName/1a2b3c4d-5d6e-7f8a-9b0c-abcd11111111 { "ViewArn": "arn:aws-cn:resource-explorer-2:cn-north-1:123456789012:view/MyViewName/1a2b3c4d-5d6e-7f8a-9b0c-abcd11111111" }