Create ad-hoc action
Device automation
Create ad-hoc action
Creates an imperative action for service_list, service_action, process_list, kill_process, script_run (macOS only), script_schedule, script_stop, script_cancel (macOS only), or script_results_get (Windows only). Requires device:automation:manage. Each item type is gated by its platform-scoped feature flag. script_sync is reconciler-driven from PUT …/windows/run-scripts. script_status_query is read-only — use POST …/snapshots. The action is immediately visible in GET /poll so the agent can pick it up.
POST
Create ad-hoc action
Authorizations
Paste the JWT token only (no "Bearer " prefix needed — the UI adds it automatically).
Path Parameters
Device UUID