API 列表
- record
- space
- base
- view
- trash
- field
- dashboard
- aggregation
- table
- selection
- plan
- attachments
- user
- auth
- db-connection
- invitation
- share
- notification
- access-token
- import
- export
- pin
- billing
- admin
- usage
- oauth
- plugin
- comment
- organization
- ai
- integrity
- automation
- authority-matrix
- PATCHPatch base authority matrixstatus
- GETGet base authority matrix
- PUTPut base authority matrix
- PATCHPatch base authority matrixadmin user
- GETGet base authority matrix role
- POSTPost base authority matrix role
- GETGet base authority matrix role 1
- PUTPut base authority matrix role
- DELDelete base authority matrix role
- PATCHPatch base authority matrix role status
- PATCHPatch base authority matrix role name
- PATCHPatch base authority matrix role user
- POSTPost base authority matrix role duplicate
- PATCHPatch base authority matrix role table status
- GETGet base authority matrix role table filter link records
- PATCH
- enterprise
- space-manage
- API Reference
authority-matrix
Post base authority matrix role
authority-matrix
Post base authority matrix role
Add authority matrix role
POST
/
base
/
{baseId}
/
authority-matrix-role
curl --request POST \
--url https://app.teable.cn/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":[null],"fieldPermission":[{"fieldId":"string","disabledActions":[null]}],"recordFilter":{},"enabled":true}]}'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"baseId": "<string>",
"createdTime": "<string>",
"enabledTime": "<string>",
"tables": [
{
"authorityMatrixRoleId": "<string>",
"tableId": "<string>",
"disabledActions": [
"<any>"
],
"fieldPermission": [
{
"fieldId": "<string>",
"disabledActions": [
"<any>"
]
}
],
"recordFilter": {},
"createdTime": "<string>",
"enabledTime": "<string>"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
A filter object used to filter results. It allows complex query conditions based on fields, operators, and values.
Response
200 - application/json
Successful response
A filter object used to filter results. It allows complex query conditions based on fields, operators, and values.
curl --request POST \
--url https://app.teable.cn/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":[null],"fieldPermission":[{"fieldId":"string","disabledActions":[null]}],"recordFilter":{},"enabled":true}]}'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"baseId": "<string>",
"createdTime": "<string>",
"enabledTime": "<string>",
"tables": [
{
"authorityMatrixRoleId": "<string>",
"tableId": "<string>",
"disabledActions": [
"<any>"
],
"fieldPermission": [
{
"fieldId": "<string>",
"disabledActions": [
"<any>"
]
}
],
"recordFilter": {},
"createdTime": "<string>",
"enabledTime": "<string>"
}
]
}