Security
SCAPIAuthToken
- Mock serverhttps://develop-api.esper.io/_mock/openapi/pipelines/v0/stageruns/{stage_run_id}/targetruns/{target_run_id}/command/{command_id}/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/pipelines/v0/stageruns/{stage_run_id}/targetruns/{target_run_id}/command/{command_id}/
curl -i -X PUT \
'https://develop-api.esper.io/_mock/openapi/pipelines/v0/stageruns/{stage_run_id}/targetruns/{target_run_id}/command/{command_id}/' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"request_status": "cancelled"
}'Response
{ "code": 0, "message": "string", "content": { "target_run_id": "0f2ab1df-1de3-4f85-b0b8-63282bf0d88f", "operation_id": "cb4ede3c-a5d1-45e3-a9d2-fe83accbce52", "enterprise_id": "2dbe425a-b3bc-4170-8bae-9e5391aafea6", "command": "string", "command_type": "DEVICE", "device_type": "all", "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940", "schedule": "IMMEDIATE", "args": {}, "request_id": "266ea41d-adf5-480b-af50-15b940c2b846", "request_status": "string", "request_status_reason": "string" } }