Portabase Logo
Portabase DashboardAPIOrganizations

Delete a storage channel owned by the organization

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
/organizations/{id}/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

id*string
Formatuuid
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/organizations/123e4567-e89b-12d3-a456-426614174000/storage-channels/123e4567-e89b-12d3-a456-426614174000'
Example Response
Empty