---
title: "Changes to Sends a new message of a specific command to a target."
method: POST
path: "/commands/{commandId}/messages"
---

# Changes to Sends a new message of a specific command to a target.

`POST /commands/{commandId}/messages`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2022-06-29** `a4e8a36890d5`: 2 warning

## Changes

- **2022-06-29** `a4e8a36890d5`: 2 warning
  - removed the request property `allOf[#/components/schemas/NewMessage]/targets`
  - removed the optional property `allOf[#/components/schemas/NewMessage]/targets` from the response with the `200` status

---

[Operation](https://skmtc.dev/aws-samples/apis/cdf-command-control-service/docs/commands/:commandId/messages/post.md) - [API](https://skmtc.dev/aws-samples/apis/cdf-command-control-service.md) - [Page](https://skmtc.dev/aws-samples/apis/cdf-command-control-service/changes/commands/:commandId/messages/post)
