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

Perform an action on the update

Contributors

PATCH /support/auto-update/updates/{uuid}

Introduced In: 9.10

Perform an action on the update.

Parameters

Name Type In Required Description

uuid

string

path

True

Update identifier

action

string

query

True

Action to be performed on the update

  • enum: ["cancel_schedule", "dismiss", "schedule", "schedule_now", "abort", "undismiss"]

schedule_time

string

query

False

Date and Time for which update is to be scheduled. This parameter is required only when action is "schedule". It should be in the ISO-8601 Date and Time format. Example- "2020-12-05T09:12:23Z".

  • format: date-time

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

262248

Unexpected parameter missing a delimiter.

131072200

Invalid Automatic Update ID.

131072201

No schedule to cancel for automatic update ID.

131072202

Cannot abort an automatic update that is not in progress.

131072203

Cannot dismiss a non-pending automatic update.

131072204

Cannot reactivate an automatic update that has not been dismissed.

131072205

Cannot schedule a non-pending automatic update to start.

131072206

Cannot schedule an automatic update past its expiration date.

131072207

Cannot schedule an automatic update in the past.

131072208

Cannot schedule automatic update while the feature is disabled.

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

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.