---
title: "Update a specific job definition"
method: PATCH
path: "/job_definitions/{job_definition_id}"
---

# Update a specific job definition

`PATCH /job_definitions/{job_definition_id}`

## Request

- Base URL: `/scheduler` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/scheduler/job_definitions/{job_definition_id}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in query parameter `token`

## Path parameters

- `job_definition_id` string, required

## Request body

- UpdateJobDefinition
  - `runtime_environment_name` string
  - `runtime_environment_parameters` object
  - `output_formats` string[]
  - `parameters` object
  - `tags` string[]
  - `name` string
  - `url` string
  - `schedule` string
  - `timezone` string
  - `output_filename_template` string
  - `active` boolean
  - `compute_type` string
  - `input_uri` string

## Response `204`

Successfully updated the job definition.

## Other responses

- `500`: Server error

---

[API](https://skmtc.dev/jupyter-server/apis/jupyter-scheduler-api.md) - [All operations](https://skmtc.dev/jupyter-server/apis/jupyter-scheduler-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jupyter-server/apis/jupyter-scheduler-api/revisions/f49a837fc1f2?raw)
