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

# UpdateWarehouseConnectionInput

> The connection to change, by scope, environment and connection id, and its new settings. `adapter` replaces the warehouse settings; a secret, `name`, `targetName` or `threads` left out keeps its stored value. One that doesn't exist is `NOT_FOUND`. Sending the same input again changes nothing.



**Kind**: `input`

## Fields

**`scope`**: `ConnectionScope!` (required)

Who uses the connection.

---

**`environmentSlug`**: `String`

The slug of the scheduler or agent environment. Required for `SCHEDULER` and `AGENT`; `production` names the default scheduler environment when no environment has that slug. Left out for `DEVELOPMENT_SHARED` and `COST`.

---

**`connectionId`**: `String` = "default"

The connection's id within its environment. An environment can hold several connections; the first is `default`. A `COST` connection's is always `default`.

---

**`name`**: `String`

A name for the connection. Left out, the stored value is kept. Not used by `COST`.

---

**`targetName`**: `String`

The dbt target name runs see. Left out, the stored value is kept. Not used by `COST`.

---

**`threads`**: `Int`

How many threads dbt runs with. Left out, the stored value is kept. Not used by `COST`, and set by each user for `DEVELOPMENT_SHARED`.

---

**`adapter`**: `WarehouseAdapterInput!` (required)

The warehouse settings, replacing the stored ones. A secret left out keeps its stored value.



## Related topics

- [Administration API: Warehouse connections](https://docs.paradime.io/developers/graphql-api/admin-api/warehouse-connections.md)
- [Admin client: warehouse connections](https://docs.paradime.io/developers/python-sdk/modules/admin/connections.md)
- [Configure a connection](https://docs.paradime.io/guides/data-warehouse-essentials/manage-connections/configure-a-connection.md)
- [Administration API: Conventions](https://docs.paradime.io/developers/graphql-api/admin-api/conventions.md)
- [Admin CLI](https://docs.paradime.io/developers/paradime-cli/admin-cli.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.