---
title: "Set organization storage value"
method: POST
path: "/v1/orgs/{orgId}/storage"
tags: ["Organization Storage"]
---

# Set organization storage value

`POST /v1/orgs/{orgId}/storage`

Store a key-value pair in organization storage. Shared across all workflows in the org. Optionally specify a named store.

## Path parameters

- `orgId` string, required

## Request body

- union
  - object
  - SetOrgStorageParams
    - `key` string, required
    - `store` string — Optional store name (defaults to "default")
    - `value` unknown, required

## Response `200`

OK

- SetOrgStorageSuccessResponse
  - `code` integer
  - `message` string
  - `requestId` string

## Other responses

- `400` — Bad Request
- `403` — Forbidden

---

[API](https://skmtc.dev/b3-fun/apis/b3os-workflow-api.md) · [All operations](https://skmtc.dev/b3-fun/apis/b3os-workflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/b3-fun/b3os-workflow-api/revisions/5a750a5a9596/schema)
