---
title: "Create Cloud-Init Template"
method: POST
path: "/utilities/cloud-init/templates"
tags: ["Utilities"]
---

# Create Cloud-Init Template

`POST /utilities/cloud-init/templates`

Create a Cloud-Init template with a case-insensitively unique name; networkConfig must be present and may be empty

## Request body

- GithubComAlchemillahqSylveInternalInterfacesServicesUtilitiesCloudInitTemplateRequest
  - `meta` string, required
  - `name` string, required
  - `networkConfig` string, required
  - `user` string, required

## Response `201`

Template created

- GithubComAlchemillahqSylveInternalAPIResponseGithubComAlchemillahqSylveInternalDbModelsUtilitiesCloudInitTemplate
  - `data` GithubComAlchemillahqSylveInternalDbModelsUtilitiesCloudInitTemplate
    - `createdAt` string
    - `id` integer
    - `meta` string
    - `name` string
    - `networkConfig` string
    - `updatedAt` string
    - `user` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Invalid or incomplete template
- `401` — Unauthorized
- `403` — Administrator access required
- `409` — Template name already exists
- `413` — Request body too large
- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/revisions/9822c41c8ac0/schema)
