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

  • Base URL
    https://emailapi.netcorecloud.net/v6
  • URL
    https://emailapi.netcorecloud.net/v6/ip/unassign
  • Auth
    HTTP bearer

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"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.