Perform scan action

Performs an action on a scan such as pausing, resuming, cancelling, or retrying.