Organizations

Update the organization's computer rules

Changed on

Changes whether work from another computer may run code. Set runCode to null to follow the remote-tasks setting again. Does not change remote tasks or sessions. The sandbox requirement for personal computers cannot be turned off. Requires Edit organization settings.

patch/v1/org/computer-rules

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

UpdateOrganizationComputerRulesRequest required
runCode, boolean nullable

Use null to follow the remote-tasks setting again.

requireSandboxOnPersonal, boolean

Response

The computer rules.

OrganizationComputerRulesResponse required
rules, OrganizationComputerRules required
runCodeChosen, boolean required

Changes