Tool permissions
Set or remove one tool rule
Changed onAdmins only. Sets one tool's rule for the organization, a team or a member, or removes it. Returns the rules for that connection.
put/v1/org/tool-permissions/rule
Request
- Base URLhttps://api.openworklabs.com
- Auth
- HTTP bearer
- or API key in header x-api-key
Request body
Set Tool Permission Rule required
subject, union required
connectionId, string required
toolName, string required
rule, 'allow' | 'ask' | 'block' nullable required
Response
Success.
Tool Permissions required
rules, Tool Permission Rule[] required
writtenRules, string required
What the organization tells every run to follow first, in the admin's words.
Changes
- info
endpoint added
- info