跳转到主要内容
POST
/
base
/
{baseId}
/
authority-matrix-role
cURL
curl --request POST \
  --url https://app.teable.ai/api/base/%7BbaseId%7D/authority-matrix-role \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"name":"string","description":"string","enabled":true,"tables":[{"tableId":"string","disabledActions":["string"],"fieldRecordPermission":[{"fieldId":"string","disabledActions":["string"]}],"recordFilter":{},"enabledViewIds":["string"],"enabled":true}],"nodes":[{"nodeType":"workflow","nodeId":"string","enabled":true}]}'
{
  "id": "<string>",
  "name": "<string>",
  "baseId": "<string>",
  "createdTime": "<string>",
  "tables": [
    {
      "authorityMatrixRoleId": "<string>",
      "tableId": "<string>",
      "createdTime": "<string>",
      "disabledActions": [
        "<string>"
      ],
      "enabledViewIds": [
        "<string>"
      ],
      "fieldRecordPermission": [
        {
          "fieldId": "<string>",
          "disabledActions": [
            "<string>"
          ]
        }
      ],
      "recordFilter": {},
      "enabledTime": "<string>"
    }
  ],
  "description": "<string>",
  "enabledTime": "<string>",
  "nodes": [
    {
      "authorityMatrixRoleId": "<string>",
      "nodeType": "workflow",
      "nodeId": "<string>",
      "id": "<string>",
      "enabledTime": "<string>",
      "createdTime": "<string>"
    }
  ]
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

baseId
string
必填

请求体

application/json
name
string
必填
description
string
enabled
boolean
tables
object[]
nodes
object[]

响应

200 - application/json

Successful response

id
string
必填
name
string
必填
baseId
string
必填
createdTime
string
必填
tables
object[]
必填
description
string
enabledTime
string
nodes
object[]
Last modified on March 5, 2026