Sorry, I haven't been able to find a clear example in the documentation or the forum on how to do this. I did try, for instance:
qc.abort(jobId='vcfvxqj348eqvrzd')
and this returns
"Error: global name 'profile' is not defined
Also tried introducing the token in the arguments, as the command help suggests.