Skip to main content
DELETE
/
recipients
/
{recipientId}
Delete Recipient
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.thanks.io/api/v2/recipients/{recipientId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "message": "success"
}

Authorizations

Authorization
string
header
required

Bearer token authentication using your thanks.io API key

Path Parameters

recipientId
integer
required

ID of recipient

Example:

296446

Response

Successful Response

The response is of type object.