<a id="flink-sql-drop-connection"></a>

# DROP CONNECTION Statement in Confluent Cloud for Apache Flink

Confluent Cloud for Apache Flink® supports creating secure connections to external services and
data sources. You can use these connections in your Flink statements. You
remove these connections by using the DROP CONNECTION statement.

## Syntax

```sql
DROP CONNECTION [IF EXISTS] [catalog_name.][db_name.]connection_name
```

## Description

Delete a connection from the Flink environment.

Dropping a connection deletes the corresponding credentials stored in the
`SecretStore`.

## Example

```sql
DROP CONNECTION `azure-openai_connection`;
```

## Related content

- [ALTER CONNECTION](alter-connection.md#flink-sql-alter-connection)
- [CREATE CONNECTION](create-connection.md#flink-sql-create-connection)
- [DESCRIBE CONNECTION](describe.md#flink-sql-describe)
- [SHOW CONNECTIONS](show.md#flink-sql-show-connections)

#### NOTE
This website includes content developed at the [Apache Software Foundation](https://www.apache.org/)
under the terms of the [Apache License v2](https://www.apache.org/licenses/LICENSE-2.0.html).
