---
title: "Rename Agent"
method: PATCH
path: "/agents/{agent_id}"
---

# Rename Agent

`PATCH /agents/{agent_id}`

## Request

- Base URL: `https://app.wunel.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.wunel.com/agents/{agent_id}`
- Auth: none declared

## Path parameters

- `agent_id` string, required

## Request body

- RenameRequest
  - `name` string, required

## Response `200`

Successful Response

- AgentOut
  - `id` string, required
  - `name` string, required
  - `principal_user_id` string, required
  - `principal_name` string, required
  - `color` string, required
  - `default_permission` string

## Other responses

- `422`: Validation Error

---

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