Portabase DashboardAPIStorage channels
Get a global storage channel (instance administrators)
GET
apiKeyAuthheader
x-api-key<token>API key generated from the Portabase dashboard. Pass as the x-api-key header.
channelId*stringFormat
uuidGlobal storage channel
application/json- response
data*Example Request
curl -X GET 'https://portabase.example.com/api/v1/storage-channels/123e4567-e89b-12d3-a456-426614174000'Example Response
{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "provider": "string", "enabled": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "organizationIds": [ "fd846392-cc8b-40e0-8cea-70228902ca0a" ] }}Create a global storage channel (instance administrators) POST
Credentials in config are stored and never returned by the API. Assign it to organizations with PUT /storage-channels/{channelId}/organizations.
Update a global storage channel (instance administrators) PATCH
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.