DELETE
/
recipients
/
293401
Delete a Recipient
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.thanks.io/api/v2/recipients/293401', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
"Recipient Deleted"

Authorizations

Authorization
string
header
required

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

Response

200 - text/plain

OK

The response is of type string.