public function ServiceDeregister(string $serviceID) {
        $r = new Request('PUT', sprintf('v1/agent/service/deregister/%s', $serviceID), $this->config);

        return $this->requireOK($this->doRequest($r))[2];
    }
public function ServiceDeregister(string $serviceID) {
        $r = new Request('PUT', sprintf('v1/agent/service/deregister/%s', $serviceID), $this->config);

        return $this->requireOK($this->doRequest($r))[2];
    }
public function ServiceDeregister ( string $ serviceID ) { $ r = new Request ( 'PUT' , sprintf ( 'v1/agent/service/deregister/%s' , $ serviceID ) , $ this -> config ) ; return $ this -> requireOK ( $ this -> doRequest ( $ r ) ) [ 2 ] ; }
Remove a service from Consul

@param string $serviceID
@return \DCarbone\PHPConsulAPI\Error|null
Remove a service from Consul