The RemoveTags operation removes one or more tags.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:RemoveTags |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tag |
array<object> |
Yes |
The list of tags. |
|
|
object |
No |
|||
| Key |
string |
Yes |
The tag key. Note
You must specify both the tag key ( |
Key1 |
| Value |
string |
Yes |
The tag value. Note
You must specify both the tag key ( |
Value1 |
| GroupIds |
array |
Yes |
The ID of the application group. |
12345 |
|
string |
No |
The ID of the application group. |
12345 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. Note
A status code of 200 indicates that the request was successful. |
200 |
| Message |
string |
The error message. |
Illegal parameters. |
| RequestId |
string |
The request ID. |
195390D2-69D0-4D9E-81AA-A7F5BC1B91EB |
| Success |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
| Tag |
object |
||
| Tags |
array |
The list of tags. |
|
|
string |
The list of removed tags. |
tag1 |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "Illegal parameters.",
"RequestId": "195390D2-69D0-4D9E-81AA-A7F5BC1B91EB",
"Success": true,
"Tag": {
"Tags": [
"tag1"
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.