Web API: Cancel: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (Created page with "The '''Cancel''' operation is used to cancels currently running queries in the server. HTTP method is '''POST'''. Does not return any data.  HTTP request header '''Authorizati...")  | 
				No edit summary  | 
				||
| Line 13: | Line 13: | ||
]  | ]  | ||
</pre>  | </pre>  | ||
[[Category: QPR ProcessAnalyzer]]  | |||
Revision as of 22:26, 15 May 2020
The Cancel operation is used to cancels currently running queries in the server. HTTP method is POST. Does not return any data.
HTTP request header Authorization with value Bearer <access token> needs to be in place to identify the session.
The payload is a JSON array of query identifiers to be cancelled.
Example:
url: http://SERVER/qprpa/api/cancel Body: [ "query1", "query2" ]