DELETE
/
sub-accounts
/
7
Delete
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.thanks.io/api/v2/sub-accounts/7', 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.

Response

200 - application/json

Successful response

The response is of type any.