const axios = require('axios');
const url = 'https://auth.api.pinghome.io/v1/account';
const requestBody = {
email: 'pinghome@gmail.com',
confirmation_code: '876112',
}
};
axios.patch(url, requestBody)
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});