⚠️ Android only. Pipelines run on Android devices only.
Removes an Operation List from a Pipeline stage.
Deletes the specified Operation List from the stage and returns the deleted record. The stage no longer runs the Operations in that list during future pipeline runs.
About Deleting Operation Lists An Operation List defines what a Stage does. Removing it changes the stage's behavior for every future run of the pipeline, so review the list's Operations before deleting it.
Key Fields / Query Parameters
stage_id— UUID of the Stage (path parameter)operationlist_id— UUID of the Operation List to delete (path parameter)
Common Use Cases
- Removing an obsolete set of actions from a stage
- Cleaning up a stage before rebuilding its Operation List
Best Practices
- Check the list's Operations with
GET /pipelines/v0/operationlists/{operationlist_id}/operations/before deleting - Avoid deleting an Operation List while a run of its pipeline is in progress
Workflow
- Call
GET /pipelines/v0/stages/{stage_id}/operationlists/to confirm the target - Review its Operations
- Call this endpoint
Security
pipelines_SCAPIAuthToken
- Mock serverhttps://develop-api.esper.io/_mock/openapi/pipelines/v0/stages/{stage_id}/operationlists/{operationlist_id}/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/pipelines/v0/stages/{stage_id}/operationlists/{operationlist_id}/
curl -i -X DELETE \
'https://develop-api.esper.io/_mock/openapi/pipelines/v0/stages/{stage_id}/operationlists/{operationlist_id}/' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "code": 0, "message": "string", "content": { "id": "string", "pipeline_id": "string", "stage_id": "string", "name": "string", "description": "string", "created_by": 0, "updated_by": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }