---
title: "Update agent name"
method: PUT
path: "/api/agents/{id}/name"
tags: ["Agents"]
---

# Update agent name

`PUT /api/agents/{id}/name`

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string, required

## Response `200`

Agent updated

## Other responses

- `404` — Agent not found
- `409` — Name conflict

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/4f62e32be8ec?raw)
