All Products
Search
Document Center

Function Compute:UntagResource

Last Updated:Jun 02, 2023

Removes tags from resources.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

PUT /2021-04-06/tag

Request parameters

ParameterTypeRequiredDescriptionExample
bodyobjectYes

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

resourceArnstringYes

The Alibaba Cloud Resource Name (ARN) of the resource.

NoteYou can use the value of this parameter to query the information about the resource, such as the account, service, and region information of the resource. You can manage tags only for services for top level resources.
acs:fc:cn-shanghai:188077086902****:services/demo
tagKeysarrayNo

The keys of the tags that you want to remove.

stringNo

The tag key.

k1
allbooleanNo

Specifies whether to remove all tags. This parameter takes effect only when no tag key is specified. Valid values:

  • true
  • false
false
X-Fc-Account-IdstringNo

The ID of your Alibaba Cloud account.

188077086902****
X-Fc-DatestringNo

The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format.

Wed, 11 May 2022 09:00:00 GMT
X-Fc-Trace-IdstringNo

The custom request ID.

my-test-trace-id

Response parameters

ParameterTypeDescriptionExample
The current API has no return parameters

Examples

Sample success responses

JSONformat

{}

Error codes

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

Change history

Change timeSummary of changesOperation
2021-06-29The input parameters of the API operation change.
Change itemChange content
Input ParametersThe input parameters of the API operation change.
    Added Input Parameters: X-Fc-Account-Id
    Added Input Parameters: X-Fc-Code-Checksum
    Added Input Parameters: X-Fc-Log-Type
    Added Input Parameters: X-Fc-Invocation-Type
    Added Input Parameters: X-Fc-Date
    Added Input Parameters: X-Fc-Trace-Id
2021-06-29The input parameters of the API operation change.
Change itemChange content
Input ParametersThe input parameters of the API operation change.
    Added Input Parameters: X-Fc-Account-Id
2021-06-29The input parameters of the API operation change.
Change itemChange content
Input ParametersThe input parameters of the API operation change.
    delete Input Parameters: X-Fc-Account-Id