简体中文
Update authority matrix role
cURL
curl --request PUT \ --url http://127.0.0.1:3000/api/base/{baseId}/authority-matrix-role/{authorityMatrixRoleId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "tables": [ { "authorityMatrixRoleId": "<string>", "tableId": "<string>", "disabledActions": [ "<string>" ], "enabledViewIds": [ "<string>" ], "fieldRecordPermission": [ { "fieldId": "<string>", "disabledActions": [ "<string>" ] } ], "recordFilter": {}, "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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
显示 子属性
Successful response
此页面对您有帮助吗?