---
title: "Update External Storage"
method: PUT
path: "/teams/{team_slug}/storage/{storage_slug}"
---

# Update External Storage

`PUT /teams/{team_slug}/storage/{storage_slug}`

## Path parameters

- `team_slug` string, required
- `storage_slug` string, required

## Request body

- object
  - `default` boolean — Set/unset setting as default.
  - `name` string — New name for the setting.
  - `readonly` boolean — Set/unset readonly for the setting.
  - `bucket` string — Name of the bucket / storage account.
  - `prefix` string — Prefix for Darwin generated files.
  - `region` string — Region identifier for the S3 bucket for AWS storage. For other providers should not be set.
  - `provider` 'aws' | 'gcp' | 'azure' | 'minio'
  - `base_url` string — Only for MinIO provider - URL for the MinIO server.
  - `tenant_id` string — Only for Azure - Tenant ID of the tenant holding the storage account.
  - `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.dev/v7labs/apis/darwin.md) · [All operations](https://skmtc.dev/v7labs/apis/darwin/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/v7labs/darwin/revisions/526a5b6b4cdc/schema)
