Deleting Custom Images

Delete a Compute custom image in an Oracle Cloud Infrastructure compartment.

    1. On the Compute custom images list page, select the custom image that you want to delete. If you need help finding the custom images list page, see Listing Custom Images.
    2. Select More Actions, and then select Delete.
    3. Confirm when prompted.
  • Use the image delete command and required parameters to delete a custom image:

    oci compute image delete --from-json <file://path/to/file.json>

    <file://path/to/file.json> is the path to a JSON file that defines the instance details. For information about how to generate an example of the JSON file, see Advanced JSON Options.

    For a complete list of flags and variable options for the Compute Service CLI commands, see the command line reference for Compute.

  • For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.

    Use this API operation to delete instances: