src/Camunda/Service/DeploymentService.php
public function delete($id, Parameters $parameters = null)
    {
        $resource = str_replace('{id}', $id, static::RESOURCE_OBJECT);
        $options = [];

        if ($parameters) {
            $options['query'] = (array) $parameters->toObject(true);
        }

        $this->execute('DELETE', $resource, $options);
    }
public function delete($id, Parameters $parameters = null)
    {
        $resource = str_replace('{id}', $id, static::RESOURCE_OBJECT);
        $options = [];

        if ($parameters) {
            $options['query'] = (array) $parameters->toObject(true);
        }

        $this->execute('DELETE', $resource, $options);
    }
Delete deployment

@param string $id
@param \Ds\Component\Camunda\Query\DeploymentParameters $parameters