Delete Migration Job

delete

/process/api/v1/oic-migration/jobs/{jobId}

Delete a bulk migration job by jobId.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Migration job deleted
Body ()
Root Schema : MigrationJob
Type: object
Show Source
Nested Schema : jobApps
Type: array
Show Source
Nested Schema : MigrationJobApp
Type: object
Show Source

404 Response

Migration job not found.

500 Response

An internal error occurred.
Back to Top

Examples

The following example shows how to delete a migration job by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see cURL Access. For more information about endpoint URL structure, see Send Requests.

Example: Delete migration job 3fa85f64-5717-4562-b3fc-2c963f66afa6

curl -X 'DELETE' \
      'https://<URL of Oracle OIC>/process/api/v1/oic-migration/jobs/3fa85f64-5717-4562-b3fc-2c963f66afa6' \ -H 'accept:
      application/json'

Example: Response body of 200 successful response in JSON format

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "bucketUrl": "string",
  "jobApps": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "appUrl": "string",
      "name": "string",
      "version": "string",
      "status": "NOT_STARTED",
      "migrationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    }
  ],
  "startedDate": "2024-08-09T09:27:40.626Z",
  "finishedDate": "2024-08-09T09:27:40.626Z",
  "status": "NOT_STARTED"
}
Back to Top