Delete Recording in Zoom

Hi, We have been using the following API to delete recorded meetings from the Zoom cloud
https://api.zoom.us/v2/meetings/{Meetingid}/recordings?action=delete
In this, I am using the following Authorization method
public generateZoomToken() { const zoomPayload = { iss: this.apiKey, exp: new Date().getTime() + 10000, }; console.log(zoomPayload, 'zoomPayload'); console.log(this.apiSecret, 'this.apiSecret'); const token = jwtToken.sign(zoomPayload, this.apiSecret); return token; }

in this method I get the following errors
Cannot read properties of undefined (reading ‘sign’)

Follow up on this, please

Follow up on this please