---
title: "Update attribute"
method: PATCH
path: "/v1/agents/{agentId}/branches/{branchId}/attributes/{attributeId}"
tags: ["Variants"]
---

# Update attribute

`PATCH /v1/agents/{agentId}/branches/{branchId}/attributes/{attributeId}`

## Request body

- UpdateAttributeBody
  - `name` string, required

## Response `200`

Updated attribute

- AttributeResponse
  - `id` string, required
  - `name` string, required

---

[API](https://skmtc.net/poly/apis/polyai-agents-api.md) · [All operations](https://skmtc.net/poly/apis/polyai-agents-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/poly/polyai-agents-api/versions/76f3c606e395/schema)
