Web API: Operations/terminate

From QPR ProcessAnalyzer Wiki
Revision as of 15:31, 1 December 2020 by Ollvihe (talk | contribs) (Created page with "The '''operations/terminate''' terminates selected operations (i.e. end tasks). This only send the termination signal to the operations, and depending on the operation, they m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The operations/terminate terminates selected operations (i.e. end tasks). This only send the termination signal to the operations, and depending on the operation, they might not immediately end.

HTTP request header Authorization with value Bearer <access token> needs to be in place to identify the session.

Url: PUT /operations/terminate

The body contains an array of operation id's (numbers) to be terminated.

Returns HTTP code 204 (No content).