In version 2.0 or never
Use the srv4 command
srv4 purgeTasks ids
that removes one or more pending scheduled tasks. See purgetasks.
In all versions
...Gn4/do.ashx?Cmd=PurgeTasks&ids=xxx
where xxx is the Task ID - you can take it from ...gn4/do.ashx?cmd=tasks