Pipeline_reset

Reset pipeline counters.

SecuritybearerAuth
Request
path Parameters
pipelineId
required
string

pipeline id.

Responses
200

Ok

post/pipelines/{pipelineId}/reset
Request samples

success = project.pipelines.reset(pipeline='pipeline_entity')

# 
# Reset pipeline counters.
# 
# **prerequisites**: You must be an *owner* or *developer* to use this method.
# 
# :param dtlpy.entities.pipeline.Pipeline pipeline: pipeline entity - optional
# :param str pipeline_id: pipeline_id -  optional
# :param str pipeline_name: pipeline_name -  optional
# :param bool stop_if_running: If the pipeline is installed it will stop the pipeline and reset the counters.
# :return: bool
# 
# 
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "name": "string",
  • "creator": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "projectId": "string",
  • "orgId": "string",
  • "compositionId": "string",
  • "nodes": [
    ],
  • "connections": [
    ],
  • "description": "string",
  • "preview": "string",
  • "startNodes": [
    ],
  • "status": "Created",
  • "settings": {
    },
  • "variables": [
    ],
  • "resetTimestamp": "2019-08-24T14:15:22Z"
}