This API is used to unbind tags bound to an instance. The limitations are as follows:

  • Up to 10 tags can be unbound at one time.
  • If a tag is unbound from all instances, it is removed automatically.
  • When you unbind tags, if only TagKey is provided and no TagValue is provided, tags matching TagKey criteria are unbound.

Request Parameters

Name Type Required or not Description
Action String Yes Required parameter. Value: RemoveTagsFromResource.
RegionId String Yes Region where the instance is located. For example, cn-hangzhou.
DBInstanceId String Yes Instance ID
Tags Json String Yes
  • The tags to be unbound, including the TagKey and TagValue.
  • The TagKey cannot be blank, but the TagValue can.
  • Format sample: {“key1”:”value1”}.

Return Parameters

Name Type Description
<Public Return Parameters> - For more information, see Public parameters.