v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
Custom Scan

Update Scan Job Status

Use this API to update the custom connecter scan job's status.

put/v1/jobs/{jobId}/status

Path parameters

jobIdinteger required

The custom connector scan job's identifier. This value can be obtained using the Get List of Scan Jobs API.

Request body

status'CREATED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'CANCELLED' | 'PAUSED' required

Status to which the job should be updated.

errorMessagestring

Error message that indicates the reason for using a status of FAILED.

Example request

{
  "status": "IN_PROGRESS",
  "errorMessage": "Connection Error"
}

Response

OK