code: 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);
      }
docs: Delete deployment
  
  @param string $id
  @param \Ds\Component\Camunda\Query\DeploymentParameters $parameters