Cancel a running pre-migration analysis task

POST /analysis/{projectId}/task/cancel

Cancel a running pre-migration analysis task.

Path parameters

  • projectId string Required

    Project ID

    Format should match the following pattern: ^[A-Za-z0-9\-]+$.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • projectId string Required

      Format should match the following pattern: ^[A-Za-z0-9\-]+$.

    • status string Required

      Values are RUNNING, FAILED, CANCELLED, or COMPLETED.

    • submittedAt string(date-time) Required
  • 404 application/json

    Not found

    Hide response attributes Show response attributes object
    • jobId string

      Format should match the following pattern: ^[A-Za-z0-9\-]+$.

    • message string Required
    • description string
    • timestamp string(date-time) Required
  • 498 application/json

    Analysis task could not be cancelled

    Hide response attributes Show response attributes object
    • jobId string

      Format should match the following pattern: ^[A-Za-z0-9\-]+$.

    • message string Required
    • description string
    • timestamp string(date-time) Required
POST /analysis/{projectId}/task/cancel
curl \
 --request POST 'http://127.0.0.1:8278/api/v1/analysis/{projectId}/task/cancel'
Response examples (200)
{
  "projectId": "string",
  "status": "RUNNING",
  "submittedAt": "2025-05-04T09:42:00Z"
}
Response examples (404)
{
  "jobId": "string",
  "message": "string",
  "description": "string",
  "timestamp": "2025-05-04T09:42:00Z"
}
Response examples (498)
{
  "jobId": "string",
  "message": "string",
  "description": "string",
  "timestamp": "2025-05-04T09:42:00Z"
}