---
title: "Update abort job run error"
method: PUT
path: "/abort_job_run_errors/{code}"
tags: ["Abort job run errors"]
---

# Update abort job run error

`PUT /abort_job_run_errors/{code}`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/abort_job_run_errors/{code}`
- Auth: API key in header `Authorization`

Update abort job run error

## Path parameters

- `code` string, required

## Request body

- object
  - `agents` number: Agents ids. The job runs will be aborted for the selected Agents
  - `jobs` number: Jobs ids. The job runs will be aborted for all the Agents for the selected Jobs
  - `apply_to_new_jobs` boolean: Abort job run for all Agents in new Jobs
  - `apply_to_new_agents` boolean: Abort job run for all new Agents

## Response `200`

Successful response

- object

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

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