Delete Entities from the Administration Console
You can delete an entity from Oracle Management Cloud or view deleted entities in the Administration console.
View Deleted Entities
- On the Delete Entities page, click the Recently Deleted tab.
- Select a time frame in the View entities deleted drop-down list.
The entities deleted within the selected time frame are displayed.
Delete Entities Using omcli
You can delete a previously added entity using the omcli delete_entity
command as shown below.
<AGENT_BASE_DIR>/agent_inst/bin
/omcli delete_entity agent FILENAME
Where FILENAME
is the name of the file that contains the entity definition to be deleted.
Example
Say you want to delete the Oracle WebLogic Server domain that you had previously added with the following JSON file: omc_weblogic_domain.json
.
Run the following command to delete this WebLogic Server domain:
<AGENT_BASE_DIR>/agent_inst/bin
/omcli delete_entity agent omc_weblogic_domain.json
Note:
Cascading deletion is not supported. The JSON input for the delete command must include all entities and their sub-entities to be deleted.