capabilities.work

OCI Deprecate and Delete Custom Image

A 3-step recipe with Oracle. We can help you get access.

Recipe · 3 steps

OCI Deprecate and Delete Custom Image

with Oracle · IT Infrastructure Management

Mark a custom image deprecated, then delete it.

  1. Read the image to confirm it exists and capture its current ETag for the deprecation update.
  2. Update the image display name to flag it as deprecated, guarded by the ETag captured when reading the image, and capture the refreshed ETag.
  3. Delete the deprecated custom image, guarded by the refreshed ETag returned by the deprecation update.
What you'll need to have ready
  • imageId: The OCID of the custom image to deprecate and delete.
  • deprecatedName: The display name marking the image as deprecated (e.g. "DEPRECATED - old base").
  • authToken: OCI request-signing bearer credential for the Authorization header.
For your developer

Arazzo workflow oracle:deprecate-and-delete-image, 3 operations: GetImage → UpdateImage → DeleteImage. Specs on APIs.io.