After you’ve stopped an orchestration, if you don’t need it any more, you can delete the orchestration. When you delete an orchestration, it’s no longer listed on the Orchestrations page, and you can’t perform any action on it.
Deleting an orchestration doesn’t delete the objects created by the orchestration. To delete the objects created by an orchestration, you must stop the orchestration.
To complete this task, you must have the
Compute_Operationsrole. If this role isn’t assigned to you or you’re not sure, then ask your system administrator to ensure that the role is assigned to you in Oracle Cloud Infrastructure Classic Console. See Modifying User Roles in Managing and Monitoring Oracle Cloud.
You must have stopped the orchestration that you want to delete. See Terminating an Orchestration v1.
- Sign in to the Compute Classic console. If your domain spans multiple sites, select the appropriate site. To change the site, click the Site menu near the top of the page.
- Click the Orchestrations tab.
- Identify the orchestration that you want to delete. From the menu, select Delete.
- You’re prompted to confirm the deletion.
If the orchestration that you’re deleting is a master orchestration that references other orchestrations, and if all the nested orchestrations are in the
stoppedstate, then to delete all the nested orchestrations, select Delete all nested orchestrations.
If any of the nested orchestrations aren’t in the
stoppedstate, then you can stop and delete each nested orchestration individually, if required.
Click Yes to confirm the deletion.
To delete an orchestration using the CLI, use the
opc compute orchestration delete command. For help with that command, run the command with the
-h option. For the instructions to install the CLI client, see Preparing to Use the Compute Classic CLI in CLI Reference for Oracle Cloud Infrastructure Compute Classic.
To delete an orchestration using the API, use the
DELETE /orchestration/name method. For more information, see REST API for Oracle Cloud Infrastructure Compute Classic.