Adds a Device Group to a Pipeline Target List.
Links an existing Device Group to the specified Target List, so that pipeline stages using this Target List will act on every device currently in the group. Not recommended for pipelines that are currently running.
About Target List Device Groups Target Lists can scope a pipeline stage to individual device Targets, whole Device Groups, or both. Adding a Device Group is the fastest way to target a large, already-organized set of devices without adding them one at a time.
Security
pipelines_SCAPIAuthToken
- Mock serverhttps://develop-api.esper.io/_mock/openapi/pipelines/v0/pipelines/{pipeline_id}/targetlists/{targetlist_id}/devicegroups/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/pipelines/v0/pipelines/{pipeline_id}/targetlists/{targetlist_id}/devicegroups/
curl -i -X POST \
'https://develop-api.esper.io/_mock/openapi/pipelines/v0/pipelines/{pipeline_id}/targetlists/{targetlist_id}/devicegroups/' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"device_group_id": "3b4f0cb7-4e98-4573-a42e-df126a0072f5"
}'Response
{ "id": "string", "device_group_id": "string", "target_list_id": "string", "created_by": 0, "updated_by": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }