src/Servers/Adapters/DigitalOcean.php
public function delete($id)
    {
        try {
            $response = $this->client->request->delete($this->apiEndpoint."/droplets/$id");

            $status = $this->client->getStatus($response);

            if (204 != $status) {
                throw new Exception('Digital Ocean responded that it could not delete it.');
            }

            return $status;

        } catch (Exception $e) {
            echo 'Unable to delete server because '.$e->getMessage();
        }
    }
public function delete($id)
    {
        try {
            $response = $this->client->request->delete($this->apiEndpoint."/droplets/$id");

            $status = $this->client->getStatus($response);

            if (204 != $status) {
                throw new Exception('Digital Ocean responded that it could not delete it.');
            }

            return $status;

        } catch (Exception $e) {
            echo 'Unable to delete server because '.$e->getMessage();
        }
    }
Delete the server corresponding to the given id.

@param integer $id
@return integer | null