Skip to content

Delete a Pipeline Target list
Stable

Request

Deletes a Target List from a Pipeline.

Permanently removes the specified Target List, including its association with any Targets or Device Groups it contained; the response returns the deleted Target List object.

About Target Lists

A Target List defines the set of devices — individual Targets and/or Device Groups — that a Pipeline Stage acts on. Deleting one removes that targeting definition from the pipeline.

Security
pipelines_SCAPIAuthToken
Path
pipeline_idstringrequired

ID of the Pipeline

targetlist_idstringrequired

ID of the Target List

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

Responses

Delete target list

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" } }