All Products
Search
Document Center

Virtual Private Cloud:UntagResourcesForExpressConnect

Last Updated:Dec 02, 2023

Removes tags from an Express Connect circuit at a time.

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.

debugging

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ResourceTypestringYes

The type of the resource. Valid values:

  • PHYSICALCONNECTION: Express Connect circuit.
  • VIRTUALBORDERROUTER: virtual border router (VBR).
  • ROUTERINTERFACE: router interface.
PHYSICALCONNECTION
RegionIdstringYes

The ID of the region in which the resource is deployed.

You can call the DescribeRegions operation to obtain the region ID.

cn-hangzhou
AllbooleanNo

Specifies whether to remove all tags from the specified resource. Valid values:

  • true
  • false (default)
false
ResourceIdarrayYes

The IDs of the resources from which you want to remove tags.

stringYes

The resource ID. You can specify up to 20 resource IDs.

pc-bp16qjewdsunr41m1****
TagKeyarrayNo

The tags to remove from the specified resource.

stringNo

The key of the tag to remove from the resource. You can specify up to 20 tag keys. The tag key cannot be an empty string.

The tag key must be 1 to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with aliyun or acs:.

FinanceDept

Response parameters

ParameterTypeDescriptionExample
object

The request ID.

RequestIdstring

The request ID.

DE65F6B7-7566-4802-9007-96F2494AC512

Examples

Sample success responses

JSONformat

{
  "RequestId": "DE65F6B7-7566-4802-9007-96F2494AC512"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidTagKeyThe tag keys are not valid.The tag index is invalid.
400InvalidTagValueThe tag values are not valid.The tag value is invalid.
400InvalidInstanceType.NotFoundThe instance type is not foundThe instance type is not found.
400InvalidInstanceIds.NotFoundThe instanceIds are not foundThe instance ID is not found.
400Forbidden.TagKeysThe request do not allow to operate the tag keysYou do not have the permissions to set the TagKeys parameter.
400QuotaExceeded.TagNumCustom Tags quota exceededThe upper limit is reached.
400Forbidden.TagKey.DuplicatedThe specified tag key already exists.The tag resources are duplicate.
400SizeLimitExceeded.TagNumThe maximum number of tags is exceeded.The number of tags has reached the upper limit.
400SizeLimitExceeded.ResourceIdThe maximum number of resource IDs is exceeded.The number of resource group IDs has reached the upper limit.
403ForbiddenUser not authorized to operate on the specified resource.You do not have the permissions to manage the specified resource. Apply for the permissions and try again.

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

Change history

Change timeSummary of changesOperation
2023-09-11API Description Update,The error codes of the API operation change.see changesets
Change itemChange content
API DescriptionAPI Description Update
Error CodesThe error codes of the API operation change.
    delete Error Codes: 400
    delete Error Codes: 403