automation-cancel
- 18 Oct 2024
-
DarkLight
-
PDF
automation-cancel
- Updated on 18 Oct 2024
-
DarkLight
-
PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Purpose
This automation cancels one automation based on the provided automation ID.
automation-cancel
API used:
/operations-manager/jobs/cancel/
Input
Inputs | Data Type | Sample Input | Description |
---|---|---|---|
instance_name | Dropdown (String) | SE Lab Prod 2023.1 | The IAP instance name |
automation_id | String | 4278c701b83943b08a98*** | The Automation ID of the Automation that needs to be cancelled. |
token (optional) | String | 9f0999c2-7054-4820-8eeb-c3052d30acaa | Authentication token or empty if an API key is used |
Output
Output | Data Type | Sample Output | Description |
---|---|---|---|
Message | String | Successfully canceled job 24fe09ed634a461b987*** | Success Message |
Error Output
Error Output | Data Type | Sample Output | Description |
---|---|---|---|
error_message | String | {"metadata":{},"data":{"4f874bd834174ae78a56f3**":"Cannot cancel job 4f874bd834174ae78a56f** that is canceled"},"message":"Failed to cancel all jobs"} | Error Message |
Was this article helpful?