---
title: "POST /command"
method: POST
path: "/command"
tags: ["command"]
---

# POST /command

`POST /command`

## Request body

- ModelCommand
  - `category` 'security' | 'system' | 'database' | 'network' | 'file' | 'developer' | 'custom'
  - `cmd` string
  - `created_at` string
  - `creator_id` integer
  - `description` string
  - `enable` boolean
  - `id` integer
  - `is_global` boolean — Global predefined command
  - `is_re` boolean
  - `name` string
  - `permissions` string[]
  - `resource_id` integer
  - `risk_level` 0 | 1 | 2 | 3
  - `tags` string[]
  - `updated_at` string
  - `updater_id` integer

## Response `200`

OK

---

[API](https://skmtc.dev/veops/apis/untitled-api-3.md) · [All operations](https://skmtc.dev/veops/apis/untitled-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/veops/untitled-api-3/revisions/d7525cb4e839/schema)
