src/ManagementClient.php
function delete($resource, $headers = array())
    {
        $result = $this->client->delete($this->build_url($resource), [
            'headers' => array_merge([
                'Authorization' => $this->getBearer()
            ], $headers)
        ]);
        return $result;
    }
function delete($resource, $headers = array())
    {
        $result = $this->client->delete($this->build_url($resource), [
            'headers' => array_merge([
                'Authorization' => $this->getBearer()
            ], $headers)
        ]);
        return $result;
    }
function delete ( $ resource , $ headers = array ( ) ) { $ result = $ this -> client -> delete ( $ this -> build_url ( $ resource ) , [ 'headers' => array_merge ( [ 'Authorization' => $ this -> getBearer ( ) ] , $ headers ) ] ) ; return $ result ; }
Build and make a DELETE request.
@param $resource
@param array $headers
@return GuzzleHttp\Message\FutureResponse|GuzzleHttp\Message\ResponseInterface|GuzzleHttp\Ring\Future\FutureInterface|mixed|null
Build and make a DELETE request .