---
title: "Define a new command with name of commandId"
method: POST
path: "/commands/{commandId}"
tags: ["Commands"]
---

# Define a new command with name of commandId

`POST /commands/{commandId}`

## Response `200`

Command that was created

## Changes

- **2023-04-26** `3c7940ca634e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/aws-samples/apis/cdf-command-control-service/changes/commands/:commandId/post.md)

---

[API](https://skmtc.dev/aws-samples/apis/cdf-command-control-service.md) · [All operations](https://skmtc.dev/aws-samples/apis/cdf-command-control-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/cdf-command-control-service/revisions/3c7940ca634e/schema)
