Delete

DELETE /:account/contact_filters/:contact_filter

User-created custom Contact Filters can also be deleted.

Examples

Delete a Contact Filter

Request

DELETE /my_account/contact_filters/search:aBj5Rk6
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X DELETE /my_account/contact_filters/search:aBj5Rk6
    

Response

Status

200

Response Type

ContactFilter

Example Body

{
  "@type": "ContactFilter",
  "id": "/my_account/contact_filters/search:aBj5Rk6",
  "@context": "/contexts/ContactFilter.jsonld",
  "slug": "search:aBj5Rk6",
  "title": "My Contacts",
  "path": "/my_account/contact_filters/all?q=lucille%20bluth",
  "contacts": "/my_account/contact_filters/search:aBj5Rk6/contacts",
  "blockContacts": "/my_account/contact_filters/search:aBj5Rk6/contacts/block",
  "unblockContacts": "/my_account/contact_filters/search:aBj5Rk6/contacts/block",
  "unsubscribeContacts": "/my_account/contact_filters/search:aBj5Rk6/contacts/subscribe",
  "subscribeContacts": "/my_account/contact_filters/search:aBj5Rk6/contacts/subscribe",
  "removeContacts": null
}

© 2024 TextUs