Skip to main content

GET /aicc/network/ipdisable

Use the method to retrieve the enablement state of IPv4 and IPv6 addresses.

Authentication

Authentication with username and password is required.

Request URL

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

Query parameters

None

Request body

None

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
404Not foundA specified resource cannot be found. 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

AttributesTypeDescription
ip_statusArray of objectsInformation about the enablement state for IPv4 and IPv6 addresses
 ip_versionIntegerType of IP address. This can be one of the following values.
  • 4. IPv4 addresses

  • 6. IPv6 addresses

 ip_disableIntegerIndicates 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 is returned if the request is successful.
{
"ip_status": [{
"ip_disable": 0,
"ip_version": 4
},
{
"ip_disable": 0,
"ip_version": 6
}]
}