Browse API reference
Mailing List Recipients
Mailing List Recipients
Delete a mailing list recipient
deletehttps://api.intelliprint.net/v1/mailing_lists/{mailing_list}/recipients/{id}
Deletes a mailing list recipient by its ID.
Parameters
Path
mailing_listrequiredstring
The ID of the mailing list the recipient belongs to.
idrequiredstring
The ID of the recipient 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 recipient.
Example
"mal_rcp_eg"objectstring
The object type. Always mailing_list_recipient.
Allowed values
mailing_list_recipientdeletedboolean
Whether the mailing list recipient 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"