DELETE
/
mailing-lists
/
{mailing_list_id}
Delete
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.thanks.io/api/v2/mailing-lists/{mailing_list_id}', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

mailing_list_id
string
required

Response

200 - application/json

Successful response

The response is of type any.