AWS App Mesh
API Reference (API Version 2019-01-25)

UntagResource

Deletes specified tags from a resource.

Request Syntax

PUT /v20190125/untag?resourceArn=resourceArn HTTP/1.1 Content-type: application/json { "tagKeys": [ "string" ] }

URI Request Parameters

The request requires the following URI parameters.

resourceArn

The Amazon Resource Name (ARN) of the resource to delete tags from.

Request Body

The request accepts the following data in JSON format.

tagKeys

The keys of the tags to be removed.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 50 items.

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: Yes

Response Syntax

HTTP/1.1 200

Response Elements

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

Errors

BadRequestException

The request syntax was malformed. Check your request syntax and try again.

HTTP Status Code: 400

InternalServerErrorException

The request processing has failed because of an unknown error, exception, or failure.

HTTP Status Code: 500

NotFoundException

The specified resource doesn't exist. Check your request syntax and try again.

HTTP Status Code: 404

ServiceUnavailableException

The request has failed due to a temporary failure of the service.

HTTP Status Code: 503

See Also

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