deleteConnection
inline suspend fun InterconnectClient.deleteConnection(crossinline block: DeleteConnectionRequest.Builder.() -> Unit): DeleteConnectionResponse
Deletes an existing Connection with the supplied identifier.
This operation will also inform the remote partner of your intention to delete your connection. Note, the partner may still require you to delete to fully clean up resources, but the network connectivity provided by the Connection will cease to exist.
Samples
fun main() {
//sampleStart
// Delete Connection
val resp = interconnectClient.deleteConnection {
identifier = "mcc-abc12345"
}
//sampleEnd
}