简体中文
Update authority matrix role
cURL
curl --request PUT \ --url https://app.teable.cn/api/base/%7BbaseId%7D/authority-matrix-role/%7BauthorityMatrixRoleId%7D \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"name":"string","description":"string","tables":[{"authorityMatrixRoleId":"string","tableId":"string","disabledActions":[null],"enabledViewIds":["string"],"fieldRecordPermission":[{"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>" ], "enabledViewIds": [ "<string>" ], "fieldRecordPermission": [ { "fieldId": "<string>", "disabledActions": [ "<any>" ] } ], "recordFilter": {}, "createdTime": "<string>", "enabledTime": "<string>" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
Successful response