v4

latestOpenAPI 3.1.02026-08-08349225311.7 KB
runtime_mutations
settings

Add Bash Allowlist Handler

Add a command to the user bash allowlist.

If the command has known dangerous flags (e.g. rm), denied-flag defaults are auto-applied so that dangerous variants still require confirmation.

post/api/settings/bash-allowlist

Request body

commandstring required
approved_tokensstring[] nullable

Response

Successful Response

{"stackTrail":"paths:/api/settings/bash-allowlist:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}