---
title: "Changes to Execute Commands on a Device"
method: POST
path: "/devices/{deviceId}/commands"
---

# Changes to Execute Commands on a Device

`POST /devices/{deviceId}/commands`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 8 revisions.

- **2022-12-19** `adcacfc2749d`: 1 info

## Changes

- **2022-12-19** `adcacfc2749d`: 1 info
  - added the new optional `query` request parameter `ordered`

---

[Operation](https://skmtc.dev/smartthings/apis/smartthings-api/docs/devices/:deviceId/commands/post.md) - [API](https://skmtc.dev/smartthings/apis/smartthings-api.md) - [Page](https://skmtc.dev/smartthings/apis/smartthings-api/changes/devices/:deviceId/commands/post)
