> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yampi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Agent

> Actualiza un agente.

Cuerpo según OpenAPI. Requiere **userApiKey**.

<ParamField path="account_id" type="integer" required>ID de la cuenta.</ParamField>
<ParamField path="id" type="integer" required>ID del agente.</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X PATCH 'https://app.yampi.ai/api/v1/accounts/1/agents/5' \
    -H 'api_access_token: TU_TOKEN' -H 'Content-Type: application/json' -d '{}'
  ```
</RequestExample>
