secondary ipset

Updates a specific secondary IP set.

This endpoint updates a specific secondary 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 secondary 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/secondary/{ipSetId}

Request

Path parameters

ipSetIdinteger required

Filters data by the IP set’s unique identifier.

Request body

namestring
transferFromstring[]
notifyFromstring[]
ipSetIdinteger

Example request

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

Response

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