Skip to content

Cancel an ongoing analysis

Cancels an ongoing analysis.

PATCH /v1/analyzer/git/cancel/:track_id/

Parameters

Name Type Description Required
track_id string The unique identifier for the ongoing analysis. Yes

Request

curl -X PATCH 'https://api.y2ksecurity.com/v1/analyzer/git/cancel/1234-abcd/' \
-H 'Authorization: Token Y2KSEC_API_KEY'

Responses

200 OK

Example Content:

{
    "message": "Scan cancelled."
}
404 NOT FOUND

Condition: If 'track_id' does not match any ongoing analysis.

Example Content:

{
    "message": "No matching scan found for the given track id."
}