All Products
Search
Document Center

Tablestore:UntagResources

Last Updated:Nov 11, 2024

Removes tags from resources.

Operation description

Removing tags from resources helps simplify resource management, optimize system performance, and mitigate potential security vulnerabilities. After a tag is removed from a resource, the system automatically deletes the tag if the tag is not added to other resources.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /v2/openapi/untagresources HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
bodyobjectNo

The request body parameters.

ResourceTypestringNo

The type of the resource. valid value:

instance: instance

instance
ResourceIdsarrayNo

The resource IDs, which are instance names.

stringNo

The resource ID, which is the instance name.

asg-bp1gnlr8vqatuqukwrx1
TagKeysarrayNo

The tag keys.

stringNo

The tag key.

app-fl-test-0
AllbooleanNo

Specifies whether to remove all tags from the resources. Default value: false. Valid values:

  • true: removes all tags from the resources.
  • false: removes the tags that are specified by the TagKeys parameter from the resources.
false

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

requestIdstring

The request ID, which can be used to troubleshoot issues.

26B43C99-F5C9-5341-B462-37427C5BF201

Examples

Sample success responses

JSONformat

{
  "requestId": "26B43C99-F5C9-5341-B462-37427C5BF201"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history