Unsubscribe a contact to list(s)

Unsubscribe a contact from one or more lists.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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"
        }
    ]
}
Path Params
string
required

Contact unique key.

Body Params

Sucessful unsubscription from list(s).

list_ids
array of integers
required
list_ids*
Responses

401

Authentication failed.

403

Forbidden.

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json