Browse API reference
Mailing Lists
Mailing Lists
Delete a mailing list
deletehttps://api.intelliprint.net/v1/mailing_lists/{id}
Deletes a mailing list along with all the recipients in the mailing list.
Parameters
Path
idrequiredstring
The ID of the mailing list to delete.
Responses
Sample JSON for every response shape is in the right rail. Expand a row below to see every field this endpoint can return.
200Successful responseapplication/json
idstring
The ID of the deleted mailing list.
Example
"mal_eg"objectstring
The object type. Always mailing_list.
Allowed values
mailing_listdeletedboolean
Whether the mailing list was successfully deleted. Always true.
Example
true400Example error responseapplication/json
errorobject
messagestringA human-readable message describing the error. You can display this to your users to help them understand what went wrong.
Example
"Received unknown parameter: testmood (Did you mean testmode?)"typestringThe general category of the error.
Allowed values
invalid_request_errorauthentication_errorpayment_errorrate_limitedinternal_errorExample
"invalid_request_error"codestringA unique code for the specific error that occurred.
Allowed values
parameter_invalidparameter_missingparameter_unknownbody_too_largebody_incorrect_formatno_api_keyinvalid_api_keylogged_outforbiddenpayment_errornot_foundrate_limitedrefusedinternal_errorExample
"parameter_unknown"paramstringThe parameter that caused the error, if applicable.
Example
"testmood"