Rename Application Snapshot (v1)

This Rest API renames a snapshot in Oracle Fusion Cloud Enterprise Performance Management instances to a desired name. This gives you flexibility in naming your snapshots.

Required Roles

Service Administrator

Any predefined role and the Migrations – Administer granular role

REST Resource

PUT /interop/rest/v1/renamesnapshot

Request

Supported Media Types: application/x-www-form-urlencoded

Table 9-65 Parameters

Name Description Type Required Default
snapshotName The name of the snapshot to be renamed. Form Yes None
newSnapshotName The desired name of the existing snapshot. Form Yes None

Response

Supported Media Types: application/json

Table 9-66 Parameters

Name Description
details In the case of errors, details are published with the error string
status See Migration Status Codes
links Detailed information about the link
href Links to API call or status API
action The HTTP call type
rel Possible values: self or Job Status. If the value is set to Job Status, you can use the href to get the status
data Parameters as key value pairs passed in the request

Example of Response Body

{
  "details": null,
  "status": 0,
  "links": [
    {
      "href": "https://<BASE-URL>/interop/rest/v1/renamesnapshot",
      "action": "PUT",
      "rel": "self",
      "data": null
    }
  ]
}

Sample cURL Command

curl -s -u <USERNAME>:<PASSWORD> -H 'Content-Type: application/x-www-form-urlencoded' --request PUT https://<BASE-URL>/interop/rest/v1/renamesnapshot -d 'snapshotName=<ARTIFACT-SNAPSHOT>&newSnapshotName=<NEW-SNAPSHOT-NAME>'