---
title: "Update storage provider"
method: PUT
path: "/orgs/{organization}/storage-providers/{storageConfiguration}"
tags: ["Storage Providers"]
---

# Update storage provider

`PUT /orgs/{organization}/storage-providers/{storageConfiguration}`

Update a storage provider for the organization.

Processing mode: <small><code>async</code></small>

## Path parameters

- `organization` string, required
- `storageConfiguration` integer, required

## Request body

- object
  - `name` string, required
  - `provider` 's3' | 'spaces' | 'hetzner' | 'ovh' | 'scaleway' | 'custom', required
  - `region` string
  - `bucket` string, nullable
  - `endpoint` string, uri
  - `access_key` string, nullable
  - `secret_key` string, nullable
  - `use_ec2_assumed_role` boolean
  - `directory` string, nullable
  - `assume_role` boolean

## Response `202`

`StorageProviderResource`

## Other responses

- `403` — Authorization error
- `404` — Not found
- `422` — Validation error

---

[API](https://skmtc.dev/mfullbrook/apis/forge.md) · [All operations](https://skmtc.dev/mfullbrook/apis/forge/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mfullbrook/forge/revisions/24ad66d99f93/schema)
