Skip to content

Detach the Target List from the Stage
Stable

Request

Detaches a Target List from a Pipeline stage.

Removes the association between the specified Target List and stage; the Target List itself is not deleted, only its attachment to this stage.

About Stage Target Lists Detaching a Target List from a stage changes which devices that stage acts on for future pipeline runs — it does not affect runs that have already executed, and the Target List remains available to attach elsewhere.

Key Fields / Query Parameters

  • stage_id — UUID of the Stage
  • targetlist_id — UUID of the Target List to detach from the stage
Security
pipelines_SCAPIAuthToken
Path
stage_idstringrequired

ID of the Stage

targetlist_idstringrequired

ID of the Target List

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

Responses

Detach target list from stage

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