Tool permissions

Set or remove one tool rule

Changed on

Admins 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 URL
    https://api.openworklabs.com
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Request body

SetToolPermissionRule required
subject, union required
connectionId, string required
toolName, string required
rule, 'allow' | 'ask' | 'block' nullable required

Response

Success.

ToolPermissions required
rules, ToolPermissionRule[] required
writtenRules, string required

What the organization tells every run to follow first, in the admin's words.

Changes