When you no longer need a private network connection in Datastream, you
can delete the private connectivity configuration.

Before you can delete a private connectivity configuration, you must first
[delete each connection profile](https://docs.cloud.google.com/datastream/docs/delete-a-connection-profile)
that uses it. To check which connection profiles are assigned to a
configuration, you can [view detailed information about the
configuration](https://docs.cloud.google.com/datastream/docs/view-a-private-connectivity-configuration#view-detailed-information).

## Delete a configuration

1. Go to the **Private connectivity configurations** page in the Google Cloud Console.

   [Go to the Private connectivity configurations page](https://console.cloud.google.com/datastream/private-connections)
2. Click the configuration that you want to delete.

3. In the **Private connectivity configuration details** page, verify that the configuration isn't being used by any connection profiles. If it is, then [delete the profiles](https://docs.cloud.google.com/datastream/docs/delete-a-connection-profile).

4. Click **DELETE**.

5. In the dialog, click **DELETE**.

   It takes a few minutes for your private connectivity configuration to be deleted. Background resources first need to be deleted before the configuration can be deleted.

## What's next

- Learn about the [Private Service Connect interfaces](https://docs.cloud.google.com/datastream/docs/psc-interfaces) private connectivity method.
- Learn about the [VPC peering](https://docs.cloud.google.com/datastream/docs/vpc-peering) private connectivity method.