Rename Application Snapshot

This API renames a snapshot in EPM Cloud instances to a desired name. This gives you flexibility in naming your snapshots.

This REST API is version v1.

Before using the REST resources, you must understand how to access the REST resources and other important concepts. See About the REST APIs. Using this REST API requires prerequisites. See Prerequisites.

REST Resource

PUT /interop/rest/v1/renamesnapshot

Supported Media Types: application/json

Parameters:

The following table summarizes the request parameters.

Table 6-33 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

Parameters:

Table 6-34 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 of the recreate service
data Parameters as key value pairs passed in the request

Example of Response Body

The following shows an example of the response body in JSON format.

{
   "links":[{
"https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/interop/rest/v1/renamesnapshot",
         "rel":"self",
         "data":null,
         "action":"PUT"
      }
   ],
   "details":null,
   "status":0
}