Update the current enabled status of an automatic update feature
PATCH /support/auto-update
Introduced In: 9.10
Updates the current enabled status of the automatic update feature and accepts the EULA.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
force |
boolean |
query |
False |
Set the force flag to true to enable the automatic update feature regardless of how AutoSupport is configured. Without this flag set to true, an attempt to enable the automatic update feature fails unless AutoSupport is enabled, its transport is HTTPS, and the AutoSupport OnDemand feature is enabled.
|
Request Body
Name | Type | Description |
---|---|---|
_links |
||
enabled |
boolean |
Flag indicating feature state. |
eula |
Example request
{
"_links": {
"self": {
"self": {
"href": "/api/resourcelink"
}
}
},
"enabled": 1,
"eula": {
"accepted": 1,
"accepted_ip_address": "192.168.1.125",
"accepted_timestamp": "2020-12-01 08:12:23 -0500",
"user_id_accepted": "admin"
}
}
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
Error Code | Description |
---|---|
262179 |
Unexpected argument. |
131072216 |
Automatic update requires AutoSupport to be enabled. |
131072217 |
Automatic update requires AutoSupport OnDemand to be enabled. |
131072218 |
Automatic update requires AutoSupport to use the HTTPS transport. |
131072219 |
The provided parameter requires an effective cluster version of ONTAP 9.16.1 or later. |
Also see the table of common errors in the Response body overview section of this documentation.
Name | Type | Description |
---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
href
Name | Type | Description |
---|---|---|
href |
string |
self
Name | Type | Description |
---|---|---|
self |
_links
Name | Type | Description |
---|---|---|
self |
eula
Name | Type | Description |
---|---|---|
accepted |
boolean |
Flag indicating the End User License Agreement (EULA) acceptance. When the feature is enabled, it is assumed that the EULA is accepted. |
accepted_ip_address |
string |
IP Address from where the EULA was accepted. |
accepted_timestamp |
string |
Date and time when the EULA was accepted. |
user_id_accepted |
string |
User ID that provided the EULA acceptance. |
auto_update_info
Name | Type | Description |
---|---|---|
_links |
||
enabled |
boolean |
Flag indicating feature state. |
eula |
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
returned_error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |