API Reference
/- Cloud Phones
- Open API
/
Cancel Task Execution
Cancel a single RPA execution without touching its schedule.
- Preconditions: the execution record must exist in the team. A finished one cannot be cancelled; an already cancelled one returns success without doing anything.
- Effect: queues a cancel request only — no state is written by this call. The schedule keeps running and later executions are unaffected. Use
/cloudphone/rpa/task/cancelto stop the schedule itself. - Completion: asynchronous. Poll
/cloudphone/rpa/subTask/pageor the execution detail until the state becomes cancelled. An execution that is already running is not stopped instantly. - Retry: idempotent; a repeat only re-queues the request.
Security
Authorization
- MoreLogin open api endpointhttps://api.morelogin.com/cloudphone/rpa/subTask/cancel/{id}
curl -i -X POST \
'https://api.morelogin.com/cloudphone/rpa/subTask/cancel/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": "1678919049331329"
}'Response
{ "code": 0, "msg": null, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d", "data": null }