post https://api.splio.com/data/contacts/optout
Optout contacts from all the lists (max 1000).
Error cases
Some unique_key do not exist (207)
{
"time": 307,
"errors": 1,
"status": null,
"items": [
{
"contact_id": "[email protected]",
"code": 400,
"description": "Contact not found for id [email protected]"
},
{
"contact_id": "[email protected]",
"code": 204,
"description": ""
}
]
}
No unique_key exist at all (400)
{
"time": 138,
"errors": 2,
"status": null,
"items": [
{
"contact_id": "ee",
"code": 400,
"description": "Contact not found for id ee."
},
{
"contact_id": "e",
"code": 400,
"description": "Contact not found for id e."
}
]
}