---
title: "[LRO] Send CLI to devices"
method: POST
path: "/devices/:cli"
tags: ["Device"]
---

# [LRO] Send CLI to devices

`POST /devices/:cli`

Send CLI commands to the target devices. This API can be run at async mode, please follow the Long-Running Operation (LRO) guide to track the progress and the result.

## Query parameters

- `async` boolean

## Request body

- XiqSendCliRequest — The request for sending CLIs to devices
  - `devices` XiqDeviceFilter, required — The filter to get matched devices
    - `ids` integer[] — The device ID list
  - `clis` string[], required — The one or multiple CLIs to send

## Response `200`

OK

- XiqSendCliResponse — The response for sending CLIs to devices
  - `device_cli_outputs` object — device ID -> CLI outputs

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/versions/5ff7ab84e8e8/schema)
