Portabase Logo
Portabase DashboardAPIStorage channels

Delete a global storage channel (instance administrators)

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.

DELETE
/storage-channels/{channelId}

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.

Authorization

apiKeyAuth
headerx-api-key<token>

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

Path Parameters

channelId*string
Formatuuid

Query Parameters

force?string
Value in"true""false"

Response Body

Channel deleted

Example Request
curl -X DELETE 'https://portabase.example.com/api/v1/storage-channels/123e4567-e89b-12d3-a456-426614174000'
Example Response
Empty