Skip to main content
A newer release of this product is available.

Update the current enabled status of an automatic update feature

Contributors

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

_links

enabled

boolean

Flag indicating feature state.

eula

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-01T09:12:23-04:00",
    "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.

Name Type Description

error

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

href

Name Type Description

self

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

_links

enabled

boolean

Flag indicating feature state.

eula

eula

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

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.