OpenAPI 3.1.02026-08-12358237329.2 KB

dcf9b4550387

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"}