primary ipset

Creates a new primary IP set.

This endpoint creates a new primary IP set, allowing users to define and organize IP addresses for use within the system.</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 primary IP set in-line with the appropriate schema, ensuring smooth and efficient organization.

post/ipsets/primary

Request

Request body

namestring
transferTostring[]
notifyTostring[]

Example request

{
  "name": "MyIpSet",
  "transferTo": [
    "10.9.150.1"
  ],
  "notifyTo": [
    "10.9.150.1"
  ]
}

Response

Primary IP set created successfully.

ipSetIdinteger
namestring
transferTostring[]
notifyTostring[]

Example response

{
  "ipSetId": 1,
  "name": "MyIpSet",
  "transferTo": [
    "10.9.150.1"
  ],
  "notifyTo": [
    "10.9.151.1"
  ],
  "domains": [
    {
      "id": 1,
      "name": "example.com"
    }
  ]
}

Changes

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