const axios = require('axios'); const FaxesApiFp = require('@alohi/faxplus-api').FaxesApiFp; const Configuration = require('@alohi/faxplus-api').Configuration; const config = new Configuration({ accessToken: accessToken, basePath: 'https://restapi.fax.plus/v3', // Header required only when using the OAuth2 token scheme baseOptions: { headers: { "x-fax-clientid": clientId, } } }); async function deleteFax() { const reqParams = { "userId": '13d8z73c', "faxId": '132esd4cs31' } const req = await FaxesApiFp(config).deleteFax(reqParams); const resp = await req(axios); } deleteFax()
"<any>"
Delete a specific fax record by providing its id. (Permitted scopes: fax:all:edit, fax:fax:edit)
OAuth2 Authorization Grant
self or user id of a corporate member
204 will be return on successful CDR modification
The response is of type any.
any