---
title: "Update Scan Job Status"
method: PUT
path: "/v1/jobs/{jobId}/status"
tags: ["Custom Scan"]
---

# Update Scan Job Status

`PUT /v1/jobs/{jobId}/status`

## Request

- Base URL: `https://localhost:8080/api/data-discovery-bridge`
- URL: `https://localhost:8080/api/data-discovery-bridge/v1/jobs/{jobId}/status`
- Auth: none declared

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

## Path parameters

- `jobId` integer, required

## Request body

- JobStatusRequest
  - `status` 'CREATED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'CANCELLED' | 'PAUSED', required: Status to which the job should be updated.
  - `errorMessage` string: Error message that indicates the reason for using a status of FAILED.

## Response `200`

OK

## Other responses

- `429`: Too Many Requests. \nFor more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).

---

[API](https://skmtc.dev/onetrust/apis/data-use-governance-data-discovery-worker-node.md) - [All operations](https://skmtc.dev/onetrust/apis/data-use-governance-data-discovery-worker-node/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/data-use-governance-data-discovery-worker-node/revisions/134ab7b81051?raw)
