> ## 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 Account (Platform)

> Actualiza una cuenta existente. Requiere platformAppApiKey.

Actualiza nombre, locale, domain, support\_email, status, limits o custom\_attributes de la cuenta. Solo aplicaciones con token de plataforma.

<ParamField header="api_access_token" type="string" required>
  Token **platformAppApiKey**.
</ParamField>

<ParamField path="account_id" type="integer" required>
  ID de la cuenta a actualizar.
</ParamField>

El cuerpo acepta los mismos campos que Create Account (name, locale, domain, support\_email, status, limits, custom\_attributes).

<RequestExample>
  ```bash cURL theme={null}
  curl -X PATCH 'https://app.yampi.ai/platform/api/v1/accounts/42' \
    -H 'api_access_token: TU_PLATFORM_TOKEN' \
    -H 'Content-Type: application/json' \
    -d '{"name": "Nuevo nombre", "status": "active"}'
  ```
</RequestExample>

Respuesta: objeto cuenta actualizado. Errores: **401** (token inválido), **404** (cuenta no existe).
