Browse the docs

cancel_scheduled

Cancels a waiting scheduled run of an exposed macro, by id or by the key the agent used.

Details #

Send id (as schedule_run or list_scheduled gave it, or its first characters) or key (the keys this agent scheduled). Only waiting runs of exposed macros can be cancelled. Returns {"cancelled": n, "macros": [...]}; nothing matching is an error.

See also #