---
title: "PUT /v2/{org_id}/commands/{command_id}/status/"
method: PUT
path: "/v2/{org_id}/commands/{command_id}/status/"
tags: ["Sensors - By Org"]
---

# PUT /v2/{org_id}/commands/{command_id}/status/

`PUT /v2/{org_id}/commands/{command_id}/status/`

Only PATCH is allowed at this endpoint

## Request body

- Command
  - `command_id` integer
  - `name` string, required
  - `value` object, required
  - `return_status` object
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Response `200`

Updated

- OptionalCommandSerializer
  - `command_id` integer
  - `name` string, required
  - `value` object, required
  - `return_status` object
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400` — Bad Request
- `403` — Forbidden

---

[API](https://skmtc.dev/density/apis/your-project-api.md) · [All operations](https://skmtc.dev/density/apis/your-project-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/density/your-project-api/revisions/eab10fe035e6/schema)
