Skip to main content Link Search Menu Expand Document (external link)

Updated Thu Sep 22nd 2022, 19:00 UTC

Block

PUT /:account/contact_filters/:filter/contacts/block

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

Examples

Block a subset of Contacts in the ContactFilter

Request

PUT /my_account/contact_filters/all/contacts/block

Body

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

Response

Status

202

Response Type

No body


© 2022 TextUs