---
title: "Create new server"
method: POST
path: "/server/"
tags: ["Servers"]
---

# Create new server

`POST /server/`

This method creates new `Server` model in Decapod.

## Request body

- object
  - `host` string, required
  - `username` string, required

## Response `200`

Successful response

## Other responses

- `400` — Response is sent if put incorrect data into model
- `401` — Response is sent if user is not authenticated
- `403` — Response is sent if user is not authorized

---

[API](https://skmtc.net/mirantis/apis/decapod-api.md) · [All operations](https://skmtc.net/mirantis/apis/decapod-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mirantis/decapod-api/versions/9e66e29726fe/schema)
