curl -X DELETE https://console.jumpcloud.com/api/commands/{CommandID} \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: {API_KEY}'
Parameter | Description |
---|---|
ID | The command ID. |
Parameter | Description |
---|---|
Organization ID | Organization identifier that can be obtained from console settings. |
{
"_id": "<string>",
"id": "<string>",
"name": "<string>",
"trigger": "<string>",
"command": "<string>",
"commandType": "<string>",
"commandRunners": [],
"sudo": true,
"launchType": "<string>",
"listensTo": "<string>",
"scheduleRepeatType": "<string>",
"schedule": "<string>",
"files": [],
"timeout": "<string>",
"organization": "<string>",
"shell": "<string>",
"systems": [],
"timeToLiveSeconds": 53,
"scheduleYear": 425
}
Was this page helpful?