Roll Back a Migration

post

/rest/v19/migrationTasks/{taskId}/actions/rollback

This endpoint is used to roll back (undo) a migration completed by the specified task.

Request

Path Parameters
Back to Top

Response

Supported Media Types

Default Response

Migration rollback task details.
Body ()
Root Schema : Task details
Type: object
Title: Task details
Task details
Show Source
Back to Top

Examples

The following example shows how to roll back (undo) a migration completed by the specified task by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X POST -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json"
https://sitename.oracle.com/rest/v19/migrationTasks/3023660980/actions/rollback

Response Body Sample

{
  "taskId": 3023660980,
  "links": [{
      "rel": "related",
      "href": "https://sitename.oracle.com/rest/v19/migrationTasks/3023660980"
    }
  ]
}
Back to Top