Skip to content

Delete Contact Audience

Tool name: delete-contact-audience

Deletes a saved contact audience; the contacts stay, only the saved search is gone, with no undo. Refused while a newsletter not yet sent addresses it -- that newsletter would go to nobody --; give it another audience first. Sent newsletters keep their statistics. Pass confirm=true only when the user asked to delete this audience.

Input schema

audienceIdinteger, >= 1required

ID of the audience to delete

confirmboolean

true only when the user asked to delete this audience

Default:false
accountIdnull or integer, >= 1

User ID of the account; omit for the account of the access token

Default:null
Input example
{ "audienceId": 1, "confirm": false, "accountId": null }

Output schema

accountIdintegerrequired
audienceIdintegerrequired
namestringrequired
Output example
{ "accountId": 0, "audienceId": 0, "name": "string" }