deleteNamespace
inline suspend fun ServiceDiscoveryClient.deleteNamespace(crossinline block: DeleteNamespaceRequest.Builder.() -> Unit): DeleteNamespaceResponse
Deletes a namespace from the current account. If the namespace still contains one or more services, the request fails.
Samples
fun main() {
//sampleStart
// Example Delete namespace
val resp = serviceDiscoveryClient.deleteNamespace {
id = "ns-ylexjili4cdxy3xm"
}
//sampleEnd
}