Use this method to enable or disable IPv4 or IPv6 addresses. You must enable or disable the IP addresses one at a time.
Authentication with user name and password is required.
PUT https://{management_server_IP}/aicc/network/ipdisable
None
Attributes | Required / Optional | Type | Description | |||
---|---|---|---|---|---|---|
ip_version | Required | Integer | Type of IP address. This can be one of the following
values.
|
|||
ip_disable | Required | Integer | Indicates whether the IP addresses are enabled
or disabled. This can be one of the following values.
|
{
"ip_version" : 4,
"ip_disable" : 0
}
{
"ip_version" : 4,
"ip_disable" : 1
}
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A 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. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
None