---
title: "POST /v1/ssh-commands/{commandUid}/submissions"
method: POST
path: "/v1/ssh-commands/{commandUid}/submissions"
tags: ["SSHCommand"]
---

# POST /v1/ssh-commands/{commandUid}/submissions

`POST /v1/ssh-commands/{commandUid}/submissions`

SubmitUpdateSSHCommand creates a pending audit record to change an existing command.

## Path parameters

- `commandUid` string, required

## Request body

- JadeTreeApiV1SubmitUpdateSSHCommandRequest
  - `commandUid` string
  - `name` string
  - `description` string
  - `content` string
  - `workDir` string
  - `env` object

## Response `200`

OK

- JadeTreeApiV1SubmitSSHCommandAuditReply
  - `audit` JadeTreeApiV1SSHCommandAuditItem
    - `uid` string
    - `targetCommandUid` string
    - `kind` integer
    - `status` integer
    - `name` string
    - `description` string
    - `content` string
    - `workDir` string
    - `env` object
    - `rejectReason` string
    - `createdAt` string
    - `updatedAt` string
    - `reviewedAt` string
    - `reviewerUid` string

---

[API](https://skmtc.net/aide-family/apis/untitled-api-4.md) · [All operations](https://skmtc.net/aide-family/apis/untitled-api-4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aide-family/untitled-api-4/versions/7c1198712e80/schema)
