Authorization: Bearer <token>. Get it with the sign-in call (POST /api/customer-users/partner-login).contactIds, or set removeAllContacts to true to empty the segment. Do not send both.data[0] is the list of contact ids you sent. It is an empty list when you used removeAllContacts.Authorization: Bearer ********************data[0] lists the ids you sent.curl --location 'https://api.veloconnect.me/api/v2/segments/57/contacts/remove' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"contactIds": [
5311
],
"removeAllContacts": false
}'{
"data": [
[
5311
]
]
}