secondary ipset

Creates a new secondary IP set.

This endpoint creates a new secondary IP set, enabling the addition of IP addresses for network management tasks such as domain configuration, IP filtering, and routing.</br></br>Key features include:</br></br>- Clear success messaging: Returns a 200 success code with a confirmation message indicating the successful completion of the requested action.</br>- Comprehensive error handling: Returns a 400 error code with a clear description when requests fail.</br>- Seamless IP set creation: Facilitates the creation of a secondary IP set in-line with the appropriate schema, ensuring smooth and efficient organization.

post/ipsets/secondary

Request

Request body

namestring
transferFromstring[]
notifyFromstring[]

Example request

{
  "name": "MyIpSet",
  "transferFrom": [
    "10.9.150.1"
  ],
  "notifyFrom": [
    "10.9.150.1/32"
  ]
}

Response

IP set created successfully.

namestring
transferFromstring[]
notifyFromstring[]
ipSetIdinteger

Example response

{
  "name": "MyIpSet",
  "transferFrom": [
    "10.9.150.1/32"
  ],
  "notifyFrom": [
    "10.9.151.1"
  ],
  "ipSetId": 1,
  "domains": [
    {
      "id": 1,
      "name": "example.com"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.