PUT
/
api
/
v1
/
tag
/
definition
Update Tag Definition
curl --request PUT \
  --url https://prv.explorer.biya.io/api/v1/tag/definition \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "tag_name": "<string>",
  "tag_category": "<string>",
  "tag_color": "<string>",
  "description": "<string>",
  "sort_order": 123
}
'
{
  "code": 123,
  "message": "<string>",
  "data": {}
}

Body

application/json

UpdateTagDefinitionRequest is the request message for updating a tag definition.

id
string
tag_name
string
tag_category
string
tag_color
string
description
string
sort_order
integer<int32>

Response

200 - application/json

OK

通用响应结构

code
integer<int32>

响应状态码,0表示成功,非0表示失败

message
string

响应消息

data
object

响应数据(使用 Struct 类型,可以直接返回 JSON 对象,更直观)