---
title: "Update Job"
method: PATCH
path: "/discovery-jobs/{job_id}"
tags: ["discovery-job"]
---

# Update Job

`PATCH /discovery-jobs/{job_id}`

## Path parameters

- `job_id` integer, required

## Request body

- DiscoveryJobUpdate
  - `name` string
  - `template_id` integer
  - `schedule` string
  - `description` string
  - `range` integer
  - `depth_structured` integer
  - `depth_unstructured` integer
  - `detection_threshold` number
  - `all_s3` integer
  - `all_rds` integer
  - `all_ddb` integer
  - `all_emr` integer
  - `all_glue` integer
  - `all_jdbc` integer
  - `overwrite` integer
  - `exclude_keywords` string
  - `include_keywords` string
  - `exclude_file_extensions` string
  - `include_file_extensions` string
  - `provider_id` integer
  - `database_type` string

## Response `200`

Successful Response

- BaseResponseBool
  - `status` string, required
  - `code` integer, required
  - `message` string
  - `data` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/aws-samples/apis/sensitive-data-protect-solution.md) · [All operations](https://skmtc.net/aws-samples/apis/sensitive-data-protect-solution/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/sensitive-data-protect-solution/revisions/e0c2e29932e2/schema)
