capabilities.work

OCI Rename Compute Instance

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

Recipe · 2 steps

OCI Rename Compute Instance

with Oracle · IT Infrastructure Management

Update a compute instance display name with an if-match guard.

  1. Read the instance to confirm it exists and capture its current ETag for optimistic concurrency control on the update.
  2. Update the instance to apply the new display name, guarded by the ETag captured when reading the instance.
What you'll need to have ready
  • instanceId: The OCID of the instance to rename.
  • newDisplayName: The new display name to apply to the instance.
  • authToken: OCI request-signing bearer credential for the Authorization header.
For your developer

Arazzo workflow oracle:rename-instance, 2 operations: GetInstance → UpdateInstance. Specs on APIs.io.