跳转到主要内容
POST
/
enrichment
/
mapping
/
schema
/
update
更新schema
curl --request POST \
  --url 'https://api.flashcat.cloud/enrichment/mapping/schema/update?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "schema_id": "<string>",
  "schema_name": "<string>",
  "description": "<string>",
  "team_id": 123
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string

请求体

application/json
schema_id
string
必填
schema_name
string

不传不更新

Required string length: 1 - 40
description
string

不传不更新

Maximum string length: 500
team_id
integer

不传不更新

响应

200 - application/json
error
object

错误信息,仅失败时存在