弹性云服务器 ECS-批量添加云服务器标签(废弃):请求示例

时间:2024-11-14 15:10:21

请求示例

POST https://{endpoint}/v1/{project_id}/servers/{server_id}/tags/action
{
    "action": "create",
    "tags": [
        {
            "key": "key1",
            "value": "value1"
        },
        {
            "key": "key2",
            "value": "value3"
        }
    ]
}
support.huaweicloud.com/api-ecs/ecs_02_1407_01.html