Skip to content
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

idrequired
string

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 response
id
string

The ID of the deleted mailing list.

Example"mal_eg"
object
string

The object type. Always mailing_list.

Allowed valuesmailing_list
deleted
boolean

Whether the mailing list was successfully deleted. Always true.

Exampletrue
400Example error response
error
object
messagestring

A 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?)"
typestring

The general category of the error.

Allowed valuesinvalid_request_errorauthentication_errorpayment_errorrate_limitedinternal_error
Example"invalid_request_error"
codestring

A unique code for the specific error that occurred.

Allowed valuesparameter_invalidparameter_missingparameter_unknownbody_too_largebody_incorrect_formatno_api_keyinvalid_api_keylogged_outforbiddenpayment_errornot_foundrate_limitedrefusedinternal_error
Example"parameter_unknown"
paramstring

The parameter that caused the error, if applicable.

Example"testmood"