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
                - 
                    taskId(required): number
                    
                    The task identifier.
Response
Supported Media Types
                - application/json
Default Response
Migration rollback task details.
                
                
                    Root Schema : Task details
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Task detailsTask details
    
    
    
    
    Show Source
        - 
            links: 
            array  Links
            
            Title:LinksLinks to the related objects.
- 
            taskId: 
            integer
            Title:Task IdThe status log task Id.
Nested Schema : Links
    
      
      Type: 
    
    
    
    arrayTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    LinksLinks to the related objects.
    
    
    
    
    
        Show Source
        - 
            Array of: 
                object  Reference Links
            
            Title:Reference LinksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : Reference Links
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Reference LinksReference links for the Parent, Self, Children and Related as applicable
    
    
    
    
    Show Source
        - 
            href: 
            string
            Title:hrefURL to the related object
- 
            rel: 
            string
            Title:LinkLink relationship to the current object
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"
    }
  ]
}