English
Add authority matrix role
cURL
curl --request POST \ --url http://127.0.0.1:3000/api/base/{baseId}/authority-matrix-role \ --header 'Authorization: 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 } ] } '
{ "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>
Show child attributes
Successful response
Was this page helpful?