deleteService

Deletes a specified service. If the service still contains one or more registered instances, the request fails.

Samples


fun main() { 
   //sampleStart 
   // Example Delete service
val resp = serviceDiscoveryClient.deleteService {
    id = "srv-p5zdwlg5uvvzjita"
} 
   //sampleEnd
}