Update a global storage channel (instance administrators)
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.
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.
apiKeyAuthx-api-key<token>API key generated from the Portabase dashboard. Pass as the x-api-key header.
channelId*stringuuidapplication/json- body
name?string5 <= length <= 40enabled?booleanconfig?Updated storage channel
application/json- response
data*curl -X PATCH 'https://portabase.example.com/api/v1/storage-channels/123e4567-e89b-12d3-a456-426614174000' \ -H 'Content-Type: application/json' \ -d '{}'{ "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" ] }}Get a global storage channel (instance administrators) GET
Previous Page
Delete a global storage channel (instance administrators) DELETE
Deletes the channel with its storage policies. Local storage channels can't be deleted (409). If backup copies are recorded on the channel, the request is refused (409) unless force=true: deleting removes those records from Portabase; the files stay in the storage.