---
title: "POST /agent/{id}/abort"
method: POST
path: "/agent/{id}/abort"
tags: ["Agent"]
---

# POST /agent/{id}/abort

`POST /agent/{id}/abort`

Abort all running instances of the agent.

## Path parameters

- `id` integer, required

## Query parameters

- `softAbort` boolean

## Response `200`

Success

- object
  - `status` string
  - `data` object

## Other responses

- `default` — Error

---

[API](https://skmtc.net/phantombuster/apis/phantombuster-api-v2.md) · [All operations](https://skmtc.net/phantombuster/apis/phantombuster-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phantombuster/phantombuster-api-v2/versions/acf0049d7c7f/schema)
