deleteIP
This method deletes an IP address for a specific customer.
Parameters
- customerId (string, required): The UUID of the customer.
- id (string, required): The UUID of the IP address to be deleted.
Returns
A JSON object confirming the successful deletion of the IP address.
Usage Example
const axios = require('axios');
let config = {
method: 'delete',
maxBodyLength: Infinity,
url: 'https://api.nexera.id/customers/:customerId/ips/:id',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});