跳转到主要内容
POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
review
/
rule_repo
/
update
更新审核规则库
curl --request POST \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/review/rule_repo/update \
  --header 'Content-Type: application/json' \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>' \
  --data '
{
  "workspace_id": "1234567890",
  "repo_id": "31415926",
  "name": "审核规则库1"
}
'
{
  "code": 200,
  "msg": "<string>"
}

授权

x-ti-app-id
string
header
必填
x-ti-secret-code
string
header
必填

请求体

application/json
workspace_id
string
必填

空间ID

示例:

"1234567890"

repo_id
integer
必填

审核规则库ID

示例:

"31415926"

name
string

库名称

Maximum string length: 30
示例:

"审核规则库1"

响应

200 - application/json

成功更新审核规则库

code
integer
必填

状态码

示例:

200

msg
string
必填

状态描述