---
title: "Create a storage account for a partner"
method: POST
path: "/partner/{partnerID}/storage-accounts"
tags: ["Distributors"]
---

# Create a storage account for a partner

`POST /partner/{partnerID}/storage-accounts`

## Request

- Base URL: `https://api.partner.eu-central-2.impossiblecloud.com/v1`
- URL: `https://api.partner.eu-central-2.impossiblecloud.com/v1/partner/{partnerID}/storage-accounts`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/impossiblecloud/apis/impossible-cloud-management-console-public-api/docs/partner/:partnerID/storage-accounts/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `partnerID` string, required

## Request body

- ApiCreateStorageAccountReqBody
  - `allocatedCapacity` integer, required
  - `allowOverdraft` boolean, required
  - `clientAccount` ApiStorageAccountClientAccount, required
    - `contactEmail` string, required
    - `password` string, required: Password The password of the account. The following requirements apply to the password: - must be at least 8 characters and no more than 128 characters in length - must contain at lease one special character: !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ - must contain lower-case (a-z), upper-case (A-Z) and number (0-9) characters
  - `name` string, required

## Response `201`

Created

- ApiStorageAccountResponse
  - `allocatedCapacity` integer
  - `allowOverdraft` boolean
  - `clientAccountId` string
  - `contactEmail` string
  - `name` string
  - `pendingDeletedAt` string

---

[API](https://skmtc.dev/impossiblecloud/apis/impossible-cloud-management-console-public-api.md) - [All operations](https://skmtc.dev/impossiblecloud/apis/impossible-cloud-management-console-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/impossiblecloud/apis/impossible-cloud-management-console-public-api/revisions/d22e84e8b0db?raw)
