Webhook not getting deleted even after getting success response in DELETE /rest/api/2/webhook

httpClient.del(
  {
    url: 'https://XXXXXXXX.atlassian.net/rest/api/2/webhook',
    headers: {
      Authorization: `Basic ${Buffer.from(
        'gkumar@XXXXX.com:XXXXXXXXXXXX'
      ).toString('base64')}`,
      'Content-Type': 'application/json',
    },
    body: `{
"webhookIds": [
1664251954062919379, 6060374313923974530
]
}`,
  },
  function (err, res) {
    if (err) {
      console.log('error');
      reject(false);
    } else {
      console.log('success', res.statusCode);
      resolve(true);
    }
  }
);