> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orquestr.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# sicarv4.units.create

> Create SICAR unit (unidad + historial). Registry write — nombre unique.

# `sicarv4.units.create`

Create SICAR unit (unidad + historial). Registry write — nombre unique.

|                |            |
| -------------- | ---------- |
| **Adapter**    | `sicarv4`  |
| **Operation**  | `db.query` |
| **SQL policy** | `write`    |

## Parameters

| Name       | Kind   | Required | Notes                                             |
| ---------- | ------ | -------- | ------------------------------------------------- |
| `document` | `json` | Yes      | nombre required; clave SAT optional (default H87) |

## Example

```bash theme={"system"}
curl -s -X POST "$API/v1/devices/$DEVICE_ID/functions/sicarv4.units.create" \
  -H "Authorization: Bearer $ORQUESTR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"document":{"nombre":"PZA","clave":"H87"}}}'
```
