---
title: "Create External Storage"
method: POST
path: "/teams/{team_slug}/storage"
---

# Create External Storage

`POST /teams/{team_slug}/storage`

## Path parameters

- `team_slug` string, required

## Request body

- object
  - `default` boolean — Set/unset setting as default.
  - `name` string — New name for the setting. Required.
  - `readonly` boolean — Set/unset readonly for the storage. MinIO requires to be readonly.
  - `bucket` string — Name of the storage bucket / storage account name. Required. In case of AWS S3, please don't use full ARN, just the name of the bucket.
  - `prefix` string — Prefix for all Darwin-created files (like thumbnails). Required for Azure (has to include container), optional for other storage providers. It cannot start nor end with "/". Examples: "v7labs", "mycontainer/darwin".
  - `region` string — Region identifier for the S3 bucket. Required for AWS, ignored for other storage providers.
  - `provider` 'aws' | 'gcp' | 'azure' | 'minio'
  - `tenant_id` string — Azure Tenant's ID that holds the storage account. Required for Azure, ignored for other storage providers.
  - `base_url` string — Base URL fro MinIO server. Required for MinIO, ignored for other storage providers.
  - `cloudfront_host` string — CloudFront host to optionally proxy S3 bucket requests

## Response `200`

200

- object
  - `provider` string
  - `default` boolean
  - `name` string
  - `readonly` boolean
  - `bucket` string
  - `prefix` string
  - `region` string
  - `slug` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/v7labs/apis/darwin.md) · [All operations](https://skmtc.net/v7labs/apis/darwin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/v7labs/darwin/revisions/526a5b6b4cdc/schema)
