code: def delete_deployment_target(self, project, deployment_group_id, target_id):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if deployment_group_id is not None:
              route_values['deploymentGroupId'] = self._serialize.url('deployment_group_id', deployment_group_id, 'int')
          if target_id is not None:
              route_values['targetId'] = self._serialize.url('target_id', target_id, 'int')
          self._send(http_method='DELETE',
                     location_id='2f0aa599-c121-4256-a5fd-ba370e0ae7b6',
                     version='5.1-preview.1',
                     route_values=route_values)
docs: DeleteDeploymentTarget.
          [Preview API] Delete a deployment target in a deployment group. This deletes the agent from associated deployment pool too.
          :param str project: Project ID or project name
          :param int deployment_group_id: ID of the deployment group in which deployment target is deleted.
          :param int target_id: ID of the deployment target to delete.