Menu
AWS IoT
Developer Guide

DeleteOTAUpdate

Delete an OTA update.

Request syntax:

DELETE /otaUpdates/otaUpdateId

URI Request Parameters:

Name

Type

Req?

Description

otaUpdateId

OTAUpdateId

yes

The OTA update ID to delete.

Errors:

InvalidRequestException

The contents of the request were invalid. For example, this code is returned when an UpdateJobExecution request contains invalid status details. The message contains details about the error.

HTTP response code: 400

ResourceNotFoundException

The specified resource does not exist.

HTTP response code: 404

ThrottlingException

The rate exceeds the limit.

HTTP response code: 429

UnauthorizedException

You are not authorized to perform this operation.

HTTP response code: 401

InternalFailureException

An unexpected error has occurred.

HTTP response code: 500

ServiceUnavailableException

The service is temporarily unavailable.

HTTP response code: 503

CLI

Synopsis:

aws iot delete-ota-update \ --ota-update-id <value> \ [--cli-input-json <value>] \ [--generate-cli-skeleton]

cli-input-json format:

{ "otaUpdateId": "string" }

cli-input-json fields:

Name

Type

Description

otaUpdateId

string

length max:128 min:1

pattern: [a-zA-Z0-9_-]+

The OTA update ID to delete.

Output:

None

On this page: