---
title: "Update a sandbox account"
method: PUT
path: "/sandbox/connections/accounts"
tags: ["Sandbox"]
---

# Update a sandbox account

`PUT /sandbox/connections/accounts`

Update an existing sandbox account. Change the connection status to understand how the Finch API responds.

## Request body

- object
  - `connection_status` 'pending' | 'processing' | 'connected' | 'error_no_account_setup' | 'error_permissions' | 'reauth'

## Response `200`

OK

- object
  - `connection_id` string, uuid, required — The ID of the new connection
  - `entity_id` string, uuid, required — The ID of the entity whose status was updated
  - `account_id` string, uuid, required — [DEPRECATED] Use `connection_id` to associate a connection with an access token
  - `authentication_type` 'api_token' | 'assisted' | 'credential' | 'oauth', required
  - `company_id` string, uuid, required — The Finch UUID of the company associated with the `access_token`.
  - `provider_id` string, required — The ID of the provider associated with the `access_token`
  - `products` string[], required

---

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