Update Schedule Status

This API is used to update schedule status.

Update Schedule Status

Purpose To Update Schedule based on Schedule Id.
API URL https://<API URL>:<API Port>/v2/inventory/schedulerStatus/{orgentityid}
Authentication type Basic/Token
Method Type GET
Example http://<API URL>:<API Port>/v2/inventory/3/1
{
"extra_vars": {
"command_to_execute": "uname -a",
"target_host": "Myhost"
}
Table 1. Parameters required in Request body of API
Column Column Type Expected/Sample Value Remarks
command_to_execute string Command Command which needs to be executed on Node.
target_host string Myhost Server host where command need to execute.

Output:

{
    "id": "XXXXXXXX “
 }
Column Column type Value Remarks
id string Unique identifier This field provide Unique Interaction Id