DeleteTags - Amazon WorkSpaces Service

DeleteTags

Deletes the specified tags from the specified WorkSpaces resource.

Request Syntax

{ "ResourceId": "string", "TagKeys": [ "string" ] }

Request Parameters

The request accepts the following data in JSON format.

ResourceId

The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.

Type: String

Length Constraints: Minimum length of 1.

Required: Yes

TagKeys

The tag keys.

Type: Array of strings

Length Constraints: Minimum length of 1.

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 Errors.

InvalidParameterValuesException

One or more parameter values are not valid.

HTTP Status Code: 400

ResourceNotFoundException

The resource could not be found.

HTTP Status Code: 400

See Also

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