v1

latestOpenAPI 3.1.02026-07-2616459400.5 KB
IP Management API

Unassign IPs from Subaccount

This allows a parent account to remove one or more dedicated IP addresses that were previously assigned to a subaccount. Each request specifies the subaccount, sending domain, and the IPs to be unassigned.

post/ip/unassign

Request body

Example request

{
  "removals": [
    {
      "ip_address": [
        "192.168.1.100"
      ],
      "account_name": "subaccount1",
      "sending_domain": "mail.example.com"
    }
  ]
}

Response

IPs unassigned successfully

status'success' | 'partial_success' | 'error'
messagestring

Example response

{
  "status": "success",
  "message": "All IPs removed successfully",
  "results": [
    {
      "account_name": "subaccount1",
      "ip": "192.168.1.100",
      "sending_domain": "mail.example.com",
      "status": "success",
      "message": "IP unassigned successfully"
    }
  ]
}