跳转到主要内容
POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
category
/
fields
/
delete
删除文件类别字段
curl --request POST \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/category/fields/delete \
  --header 'Content-Type: application/json' \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>' \
  --data '
{
  "workspace_id": "1234567890",
  "category_id": "1234567890",
  "field_ids": [
    "1234567890",
    987654321
  ],
  "table_id": "1234567890"
}
'
{
  "code": 200,
  "msg": "<string>"
}

授权

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

请求体

application/json
workspace_id
string
必填

空间ID

示例:

"1234567890"

category_id
string
必填

文件类别ID

示例:

"1234567890"

field_ids
string[]
必填

要删除的字段ID列表

示例:
["1234567890", 987654321]
table_id
string

表格ID

  • 不传:删除普通字段(result.fields 中的字段)
  • 传入表格ID:删除对应表格下的表格字段(result.tables[].fields 中的字段)
示例:

"1234567890"

响应

200 - application/json

成功删除文件类别字段

code
integer
必填

状态码

示例:

200

msg
string
必填

状态描述