All Products
Search
Document Center

App Streaming:UntagCloudResources

Last Updated:Dec 17, 2025

Removes tags from cloud 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

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
appstreaming:UntagCloudResourcesupdate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ResourceTypestringYes

The type of the resource from which you want to remove tags.

Valid values:

  • AppId: app ID.
  • WyId: Alibaba Cloud Workspace user ID.
  • AppInstanceGroupId: delivery group ID.
  • AliUid: tenant ID.
AppInstanceGroupId
ResourceIdsarrayNo

The resource IDs. You can specify up to 50 resource IDs. You do not need to specify this parameter if you set ResourceType to AliUid.

stringYes

The resource ID.

aig-0009
TagKeysarrayYes

The tags that you want to remove from the cloud resources. System and custom tags are supported. You can specify up to 10 tags.

Valid values for system tags:

  • System/Scheduler/GRAYSCALE: canary tags.
  • System/Scheduler/STOP_NEW_USER_CONNECTION: tags used to stop new users bound to the delivery group from establishing a connection.
stringYes

The tag key. The value must be 1 to 128 characters in length and is case-sensitive.

System/Scheduler/GRAYSCALE

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

E25FC620-6B6F-12D2-A992-AD8727DC****
FailedResourcesarray<object>

The cloud resources whose tags failed to be removed and the corresponding tags.

FailedResourcesobject

The cloud resource whose tag failed to be removed and the corresponding tag.

ResourceTypestring

The type of the cloud resource.

Valid values:

  • AppId: app ID.
  • WyId: Alibaba Cloud Workspace user ID.
  • AppInstanceGroupId: delivery group ID.
  • AliUid: tenant ID.
AppInstanceGroupId
ResourceIdstring

The resource IDs.

aig-00000001
Tagsarray<object>

The tags that failed to be removed from the cloud resources.

Tagsobject

The tag that failed to be removed from the cloud resource.

Keystring

The tag key.

Resolution
Scopestring

The tag type.

Valid values:

  • Custom: custom tag.
  • System: system tag.
Custom
Codestring

The error code.

UNTAG_RESOURCE_FAILED
Messagestring

The error message.

Failed to untag resource.

Examples

Sample success responses

JSONformat

{
  "RequestId": "E25FC620-6B6F-12D2-A992-AD8727DC****",
  "FailedResources": [
    {
      "ResourceType": "AppInstanceGroupId",
      "ResourceId": "aig-00000001",
      "Tags": [
        {
          "Key": "Resolution",
          "Scope": "Custom"
        }
      ],
      "Code": "UNTAG_RESOURCE_FAILED",
      "Message": "Failed to untag resource."
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
500ServiceUnavailableService unavailable. Please try again later.Service unavailable. Please try again later.

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