Update the current enabled status of an automatic update feature
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
PATCH /support/auto-update
Introduced In: 9.10
Updates the current enabled status of the automatic update feature and accepts the EULA.
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 13:12:23 +0000",
"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. |
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. |