View a markdown version of this page

DeleteDashboards - Amazon CloudWatch

DeleteDashboards

Deletes all dashboards that you specify. You can specify up to 100 dashboards to delete. If there is an error during this call, the operation attempts to delete as many dashboards as possible.

Request Syntax

{ "DashboardNames": [ "string" ] }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

DashboardNames

The dashboards to be deleted. This parameter is required.

Type: Array of strings

Required: Yes

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Error Types.

ConflictException

This operation attempted to create a resource that already exists.

HTTP Status Code: 409

InternalServiceError

Request processing has failed due to some unknown error, exception, or failure.

Message

HTTP Status Code: 500

InvalidParameterValue

The value of an input parameter is bad or out-of-range.

message

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: