DirkGroenen\Pinterest\Transport\Request::delete PHP Method

delete() public method

Make a delete request to the given endpoint
public delete ( string $endpoint, array $parameters = [] ) : DirkGroenen\Pinterest\Transport\Response
$endpoint string
$parameters array
return DirkGroenen\Pinterest\Transport\Response
    public function delete($endpoint, array $parameters = array())
    {
        return $this->execute("DELETE", sprintf("%s%s", $this->host, $endpoint) . "/", $parameters);
    }