Skip to main content

Delete Command

This endpoint deletes a specific command based on the Command ID.

Sample Request

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}'

Basic Parameters

ParameterDescription
IDThe command ID.

Advanced Parameters

ParameterDescription
Organization IDOrganization identifier that can be obtained from console settings.

Example Output

{
"command": "string",
"commandRunners": [
"string"
],
"commandType": "linux",
"files": [
"string"
],
"launchType": "string",
"listensTo": "string",
"name": "string",
"organization": "string",
"schedule": "string",
"scheduleRepeatType": "string",
"scheduleYear": 0,
"shell": "string",
"sudo": true,
"systems": [
"string"
],
"template": "string",
"timeToLiveSeconds": 0,
"timeout": "string",
"trigger": "string",
"user": "string"
}

Workflow Library Example

Delete Command with Jumpcloud and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop