---
title: "Post Pool"
method: POST
path: "/configuration/pools"
tags: ["pools", "configuration"]
---

# Post Pool

`POST /configuration/pools`

Create a new pool resource.
Console command used: _configure add pool_

## Request body

- PoolResource
  - `name` string, required
  - `description` string
  - `pooltype` string
  - `labelformat` string
  - `labeltype` string
  - `cleaningprefix` string
  - `usecatalog` 'yes' | 'no' — An enumeration.
  - `purgeoldestvolume` 'yes' | 'no' — An enumeration.
  - `actiononpurge` string
  - `recycleoldestvolume` 'yes' | 'no' — An enumeration.
  - `recyclecurrentvolume` 'yes' | 'no' — An enumeration.
  - `maximumvolumes` integer
  - `maximumvolumejobs` integer
  - `maximumvolumefiles` integer
  - `maximumvolumebytes` integer
  - `catalogfiles` 'yes' | 'no' — An enumeration.
  - `volumeretention` string
  - `volumeuseduration` string
  - `migrationtime` string
  - `migrationhighbytes` integer
  - `migrationlowbytes` integer
  - `nextpool` string
  - `storage` string[]
  - `autoprune` 'yes' | 'no' — An enumeration.
  - `recycle` 'yes' | 'no' — An enumeration.
  - `recyclepool` string
  - `scratchpool` string
  - `catalog` string
  - `fileretention` string
  - `jobretention` string
  - `minimumblocksize` integer
  - `maximumblocksize` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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