AI开发平台MODELARTS-添加资源标签:请求示例

时间:2024-10-24 09:20:52

请求示例

为指定服务添加标签。设置TMS标签的key为“test”和“model_version”,TMS标签的value为“service-gpu”和“0.1”。

https://{endpoint}/v1/{project_id}/services/a55eba18-1ebf-4e9a-8229-d2d3b593a3dc/tags/create

{
  "tags" : [ {
    "key" : "test",
    "value" : "service-gpu"
  }, {
    "key" : "model_version",
    "value" : "0.1"
  } ]
}
support.huaweicloud.com/api-modelarts/BatchCreateServiceTags.html