Link Search Menu Expand Document

Updated Fri Mar 5th 2021, 12:17 UTC

Unsubscribe

DELETE /:account/contact_filters/:filter/contacts/subscribe

A User can unblock a subset or all of their Contacts in a specific Contact Filter.

Examples

Unsubscribe a subset of Contacts in the ContactFilter

Request

DELETE /my_account/contact_filters/all/contacts/subscribe

Body

{
  "contacts": ["/contacts/DQeeO69", "/contacts/oqb888D", "/contacts/qBB9gaG"]
}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X DELETE /my_account/contact_filters/all/contacts/subscribe
     -d '{json: "body"}' 

Response

Status

202

Response Type

No body


© 2021 TextUs