Skip to main content

PUT /aicc/network/ipdisable

Use this method to enable or disable IPv4 or IPv6 addresses. You must enable or disable the IP addresses one at a time.

Authentication

Authentication with username and password is required.

Request URL

PUT https://{management_server_IP}/aicc/network/ipdisable

Query parameters

None

Request body

AttributesRequired / OptionalTypeDescription
ip_versionRequiredIntegerType of IP address. This can be one of the following values.
  • 4. IPv4 addresses

  • 6. IPv6 addresses

ip_disableRequiredIntegerIndicates whether the IP addresses are enabled or disabled. This can be one of the following values.
  • 0. Enable the specified addresses.

  • 1. Disable the specified addresses.

The following example enables IPv4 addresses:
{
"ip_version" : 4,
"ip_disable" : 0
}
The following example disables IPv4 addresses:
{
"ip_version" : 4,
"ip_disable" : 1
}

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

None