post https://api.splio.com/data/contacts//lists/unsubscribe
Unsubscribe a contact from one or more lists.
Error cases
Contact does not exist (404)
{
"status": 404,
"errors": [
{
"error_key": "id",
"error": "wrong_value",
"error_description": "Record not found for id [email protected]."
}
]
}
List does not exist (400)
{
"status": 400,
"errors": [
{
"error_key": "lists",
"error": "wrong_value",
"error_description": "list 999 does not exist"
}
]
}
List malformatted (string instead of int) (400)
{
"status": 400,
"errors": [
{
"error_key": "lists",
"error": "wrong_value",
"error_description": "lists for contact created should contains id key"
}
]
}