---
title: "Update Agent"
method: PATCH
path: "/v2/agents/{agent_id}"
tags: ["Agents"]
---

# Update Agent

`PATCH /v2/agents/{agent_id}`

Update an agent's display name or delivery settings.

## Path parameters

- `agent_id` string, uuid, required

## Request body

- object
  - `name` string — New agent display name.
  - `slack_enabled` boolean — Whether the agent is reachable via Slack.
  - `microsoft_teams_enabled` boolean — Whether the agent is reachable via Microsoft Teams.
  - `agentic_memory_enabled` boolean — Toggle agentic memory for the agent.
  - `thread_id` string, uuid, nullable — Thread id to associate with the agent, or null to clear.
  - `pinned` boolean — Pin the agent to the top of your agents list (true) or unpin it (false). Per-user — each viewer has their own pin.

## Response `200`

Default Response

- object
  - `agent` object, required
    - `id` string, uuid, required
    - `name` string, required
    - `slack_enabled` boolean, nullable, required
    - `microsoft_teams_enabled` boolean, nullable, required
    - `agentic_memory_enabled` boolean, nullable, required
    - `team_id` string, nullable, required
    - `thread_id` string, nullable, required
    - `folder_id` string, nullable
    - `automation_id` string, uuid, nullable
    - `created_at` string, nullable, required
    - `updated_at` string, nullable, required
    - `created_by` object, nullable
      - `id` string, required
      - `name` string, nullable, required
      - `email` string, required
    - `updated_by` object, nullable
      - `id` string, required
      - `name` string, nullable, required
      - `email` string, required
  - `user_context` object, required
    - `pinned_at` string, nullable, required

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `409` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/duvo/apis/duvo-public-api.md) · [All operations](https://skmtc.net/duvo/apis/duvo-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/duvo/duvo-public-api/revisions/dafcf3d868a9/schema)
