src search-jobs cancel
src search-jobs cancel
is a tool that cancels a search job on a Sourcegraph instance.
Usage
BASHUsage of 'src search-jobs cancel': -c string Comma-separated list of columns to display. Available: id,query,state,username,createdat,startedat,finishedat,url,logurl,total,completed,failed,inprogress (default "id,username,state,query") -dump-requests Log GraphQL requests and responses to stdout -get-curl Print the curl command for executing this query and exit (WARNING: includes printing your access token!) -insecure-skip-verify Skip validation of TLS certificates against trusted chains -json Output results as JSON for programmatic access -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing -user-agent-telemetry Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: Cancel a search job by ID: $ src search-jobs cancel U2VhcmNoSm9iOjY5 Arguments: The ID of the search job to cancel. The cancel command stops a running search job and outputs a confirmation message.