---
title: "Create Preset"
method: POST
path: "/api/v1/network/presets"
tags: ["network"]
---

# Create Preset

`POST /api/v1/network/presets`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/v1/network/presets`
- Auth: HTTP bearer

Creates an account preset.

## Request body

- PresetCreate
  - `name` string, required
  - `allow` string[]
  - `deny` string[]

## Response `201`

Successful Response

- PresetOut
  - `id` string, required
  - `name` string, required
  - `allow` string[], required
  - `deny` string[], required
  - `builtIn` boolean, required
  - `inUse` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/maritime/apis/maritime-api.md) - [All operations](https://skmtc.dev/maritime/apis/maritime-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maritime/apis/maritime-api/revisions/acd712090ad6?raw)
