Controller/DeploymentController.php
public function removeSite($id)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->delete('v1/deployment/' . $id . '', $parameters);
        $result = new DeploymentSiteResponse($result);

        return $result;
    }
public function removeSite($id)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->delete('v1/deployment/' . $id . '', $parameters);
        $result = new DeploymentSiteResponse($result);

        return $result;
    }
Delete a DeploymentSite.

You can not delete a DeploymentSite while there are still media deployed there!

@param  int                    $id the DeploymentSite identifier
@return DeploymentSiteResponse