---
title: "Create"
method: POST
path: "/1/swiss_backups/{swiss_backup_id}/slots"
tags: ["Slots"]
---

# Create

`POST /1/swiss_backups/{swiss_backup_id}/slots`

Create a new slot via a job, for the given Swiss Backup

## Path parameters

- `swiss_backup_id` integer, required

## Request body

- object
  - `connection_type` 'ftp' | 's3' | 'swift' — Slot connection type (Swift, S3, FTP)
  - `customer_name` string, required — Customer name of the resource `{name}`
  - `email` string, required — Email
  - `firstname` string, nullable
  - `lang` integer — Language identifier (1 = fr / 2 = en / 3 = de / 4 = it / 5 = es)
  - `lastname` string, nullable
  - `size` integer, required — Total storage size of the Swiss Backup product (Bytes)
  - `type` 'acronis' | 'linux' | 'mobile' | 'office' | 'other' | 'qnap' | 'server' | 'synology' | 'virtual' | 'workstation', required — Type of the resource `{name}`

## Response `201`

Created

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` Daf7713cSwissBackupSlot
    - `id` integer, required — Unique identifier of the resource `Swiss Backup Slot`
    - `customer_name` string, required — Customer name of the resource `Swiss Backup Slot`
    - `type` string, required — Type of the resource `Swiss Backup Slot`
    - `subtype` string, required — Slot subtype (Arconis or Openstack Swift)
    - `connection_type` string, required — Slot connection type (Swift, S3, FTP)
    - `size` integer, required — Total storage size of the Swiss Backup product (Bytes)
    - `storage_used` integer, required — Used storage size by free storage slots or Acronis backups (Bytes)
    - `usage_last_check` integer, required — Date of the last data update
    - `created_at` integer, required — Timestamp `Swiss Backup Slot` has been created
    - `locked_at` integer, required — Slot lock date
    - `locked` boolean, required — True if the slot is locked
    - `tags` Daf7713cTag[], required
      - `id` integer, required — Unique identifier of the resource `Tag`
      - `name` string, required — Name of the resource `Tag`
      - `color` integer, required
      - `product_count` integer — Product count related to the resource `Tag`
    - `lang` integer, required — Language identifier (1 = fr / 2 = en / 3 = de / 4 = it / 5 = es)
    - `activate_notifications` boolean, required — True if the user wants to receive Acronis notifications
    - `unit_admin` boolean, required
    - `username` string, required — Acronis administrator username
    - `endpoint` string, required — Endpoint for the slot connection
    - `IPS_key` string — IPS identifier
    - `email` string — Email
    - `slot_name` string — Slot name
    - `tenant_name` string — Swift connection tenant name
    - `domain_name` string — Swift connection domain name
    - `container_name` string — Slot container name (optional)
    - `directory` string — Slot default directory (optional)
    - `config` string
    - `parent` object

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
