Skip to content

Delete a pipeline stage
Stable

Request

Deletes a Stage from a Pipeline.

Permanently removes the specified Stage, along with its association to any attached Target Lists and Operation Lists, from the pipeline; the response returns the deleted Stage object.

About Stages

A Stage is one ordered step in a Pipeline's execution, containing the Target Lists and Operation Lists that define what devices it targets and what actions it runs as part of the pipeline's overall orchestration flow.

Security
pipelines_SCAPIAuthToken
Path
pipeline_idstringrequired

ID of the Pipeline

stage_idstringrequired

ID of the Stage

cURL
curl -i -X DELETE \
  'https://api.esper.io/_mock/openapi/pipelines/v0/pipelines/{pipeline_id}/stages/{stage_id}/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Deleted Stage Information

Bodyapplication/json
codeinteger
messagestring
contentobject(pipelines_Stage)
Response
{ "code": 0, "message": "string", "content": { "id": "string", "enterprise_id": "string", "pipeline_id": "string", "description": "string", "name": "string", "timeout_seconds": 0, "created_by": 0, "updated_by": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }