# Cancel a user migration run

Stops a running migration run. Work already in progress finishes, and every file still gets a report.

Endpoint: POST /v1/migration/users/runs/{run_id}/cancel
Security: AdminAccessToken

## Security:

  - `AdminAccessToken` (unknown)
    oauth2

## Path parameters:

  - `run_id` (string, required)
    Identifier of the migration run

## Response 200 fields (application/json):

  - `result` (object, required)

  - `result.run_id` (string, required)
    Identifier of the cancelled run

  - `result.status` (string, required)
    Status of the run after the cancel
    Enum: "running", "completed", "failed", "cancelled"

## Response 404 fields (application/json):

  - `message` (string, required)

  - `error_code` (number, required)
    Example: 404

## Response 409 fields (application/json):

  - `message` (string, required)

  - `error_code` (number, required)

