Python
from channel3_sdk import Channel3
from channel3_sdk.environment import Channel3Environment
client = Channel3(
api_key="<value>",
environment=Channel3Environment.PRODUCTION,
)
client.collections.delete(
collection_id="collection_id",
)
const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.trychannel3.com/v1/collections/{collection_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://api.trychannel3.com/v1/collections/{collection_id} \
--header 'x-api-key: <api-key>'Collections
Delete Collection
Delete a collection.
DELETE
/
v1
/
collections
/
{collection_id}
Python
from channel3_sdk import Channel3
from channel3_sdk.environment import Channel3Environment
client = Channel3(
api_key="<value>",
environment=Channel3Environment.PRODUCTION,
)
client.collections.delete(
collection_id="collection_id",
)
const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.trychannel3.com/v1/collections/{collection_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://api.trychannel3.com/v1/collections/{collection_id} \
--header 'x-api-key: <api-key>'Was this page helpful?