Delete dedicated IP
Delete /settings/ips/{id}
URL parameters:
| Name | Description | Type | Mandatory |
|---|---|---|---|
| id | IP id | String | Yes |
Response:
| Name | Description | Type |
|---|---|---|
| Response Code | 200 OK | Http Status Code |
Programming language:
Response exemple:
No json response
Code example:
curl -X DELETE -H "X-Tipimail-apiUser:YOUR_SMTP_USERNAME" -H "X-Tipimail-ApiKey:YOUR_SMTP_KEY" https://api.tipimail.com/v1/settings/ips/560a8879be1cd6e38c148158
require 'vendor/autoload.php';
$tipimail = new Tipimail\Tipimail('YOUR_SMTP_USERNAME', 'YOUR_API_KEY');
try {
$tipimail->getSettingsService()->getDedicatedIpsService()->delete('646r54g6r4gr6g46g46546d4');
}
catch(Tipimail\Exceptions\TipimailException $e) {
echo 'Exception received :', $e->getMessage(), "\n";
}