---
title: "Update agent details"
method: PATCH
path: "/v0.2.4/agents/update"
tags: ["Agents"]
---

# Update agent details

`PATCH /v0.2.4/agents/update`

Updates agent name, description, and metadata. Also updates the agent's APort passport.
At least one of name, description, or meta must be provided.

## Request body

- object
  - `id` string, required — Agent UID
  - `subAccount` string — Sub-account identifier
  - `name` string — New agent name
  - `description` string — New agent description
  - `meta` object — Additional metadata to update

## Response `200`

Agent updated successfully

- object
  - `status` string
  - `data` object — Updated agent details

## Other responses

- `400` — Validation error in the request.
- `401` — Access to this resource is not available for unauthenticated users.
- `404` — The requested resource was not found.
- `500` — Indicates an internal server error.

---

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