メインコンテンツまでスキップ
バージョン: DAI 6.5

Abort Execution Method

You can abort a run by passing the processid to the run abort endpoint. This returns a Status 200 response if the process id was recognized and a 404 response if not.

Method

POST -> http://localhost:8000/api/run/abort

Headers

NameValue
Authorizationbearer <access_token>
Content-Typeapplication/x-www-form-urlencoded

Body Parameters

NameTypeRequired
idIntegerYes

Possible Responses

StatusStatus TextDescription
200OKExecution abort triggered
401UnauthorizedThe access token was not valid
404Not FoundProcess was not found with the id passed in

Response Body JSON

Typical response:

{
"message": "OK",
"description": "Execution abort triggered"
}
NameTypeDescription
messageTextResponse status message
descriptionTextDetailed explanation