---
title: "Deactivate Agent"
method: DELETE
path: "/v1/task-agents/{agent_id}"
tags: ["Web Search Agents (public)"]
---

# Deactivate Agent

`DELETE /v1/task-agents/{agent_id}`

## Path parameters

- `agent_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-12** `e8a97dc9fce2` — 1 breaking, 1 warning, 3 info
  - for the `path` request parameter `agent_id`, the format changed from no format to `uuid`
  - deleted the `cookie` request parameter `token`
  - api operation id `deactivate_agent_v2_web_search_agents__agent_id__delete` removed and replaced with `deactivate_agent_api_v2_public_web_search_agents__agent_id__delete`
  - api tag `Web Search Agents (public)` added
  - …1 more
- **2026-06-10** `421a9851d61b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nimbleway/apis/api-gateway/changes/v1/task-agents/:agent_id/delete.md)

---

[API](https://skmtc.dev/nimbleway/apis/api-gateway.md) · [All operations](https://skmtc.dev/nimbleway/apis/api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nimbleway/api-gateway/revisions/e8a97dc9fce2/schema)
