Remove one or more Segments
API Endpoint for Removing User Segments
Required Parameters
- networkId (int32): Your account (network) ID
- userKey (string): The user ID to update
Body Parameters
- segments (array of int32s): Specify the Segment IDs to be removed from the user record. To delete all Segments for the user, send a DELETE request with no body params.
Responses
200 OK
Object
- key (string):
- segments (array):
400 Bad Request
Example Request
curl --request DELETE \
--url https://e-networkid.adzerk.net/udb/networkId/segments \
--header 'accept: application/json' \
--header 'content-type: application/json'
Example Response
{
"key": "ue1-e397eb5990",
"segments": []
}