primary ipset

Updates a specific primary IP set.

This endpoint updates a specific primary IP set, helping users modify its configuration or contents as needed.</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>- Reliable IP set updates: Facilitates the modification of a specific primary IP set, ensuring accurate and up-to-date information across the system.</br>- Targeted data updates: Leverages the ipSetId parameter in the URL path to update the specified IP set, ensuring accurate and focused modifications.

put/ipsets/primary/{ipSetId}

Request

Path parameters

ipSetIdinteger required

Filters data by the IP set’s unique identifier.

Request body

ipSetIdinteger
namestring
transferTostring[]
notifyTostring[]

Example request

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

Response

Primary IP set updated 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.