7. Stream user data - add or remove multiple users
POST {{baseUrl}}/dmpSegments/{{user_segment_id}}/users
This example adds multiple users to the DMP segment created in step 2.
To see what other fields can also be added/removed, review the schema section of our online documentation.
The more information on a user that is provided, the better chance of a higher match rate.
Request Body
{"elements"=>[{"action"=>"ADD", "userIds"=>[{"idType"=>"SHA256_EMAIL", "idValue"=>"6b56c85c1ce461e7ef77e3a52f13a6bc09feb93a04ce0670f9909e8ffde01f3a"}]}, {"action"=>"ADD", "userIds"=>[{"idType"=>"SHA256_EMAIL", "idValue"=>"0100c74de9670c6bf2882502a486ec9e9d259fd090f19895974bae7efdc87913"}]}, {"action"=>"ADD", "userIds"=>[{"idType"=>"SHA256_EMAIL", "idValue"=>"89147c81369d80ff259ed23a7d6949f2ce34b5e62619d7e00e880db0495bbed0"}]}, {"action"=>"ADD", "userIds"=>[{"idType"=>"SHA256_EMAIL", "idValue"=>"4f123dc421f679369532452374c003dd9e825273e9929bd61060a65cd8587bb3"}]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
LinkedIn-Version | string | ||
Authorization | string | ||
X-Restli-Protocol-Version | string | ||
X-RestLi-Method | string |
RESPONSES
status: OK
{"elements":[{"status":201},{"status":201},{"status":201},{"status":201}]}