Portabase Logo
Portabase DashboardAPIOrganizations

Update a storage channel owned by the organization

Omitted fields are kept. config, when given, replaces the whole stored config and is validated against the channel's provider; the provider can't change. Credentials in config are stored and never returned by the API.

PATCH
/organizations/{id}/storage-channels/{channelId}

Omitted fields are kept. config, when given, replaces the whole stored config and is validated against the channel's provider; the provider can't change. Credentials in config are stored and never returned by the API.

Authorization

apiKeyAuth
headerx-api-key<token>

API key generated from the Portabase dashboard. Pass as the x-api-key header.

Path Parameters

id*string
Formatuuid
channelId*string
Formatuuid

Request Body

application/json
  1. body
name?string
Length5 <= length <= 40
enabled?boolean
config?

Response Body

Updated storage channel

application/json
  1. response
data*
Example Request
curl -X PATCH 'https://portabase.example.com/api/v1/organizations/123e4567-e89b-12d3-a456-426614174000/storage-channels/123e4567-e89b-12d3-a456-426614174000' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "provider": "string",    "enabled": true,    "owned": true,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}