Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Python
from channel3_sdk import Channel3 from channel3_sdk.environment import Channel3Environment client = Channel3( api_key="<value>", environment=Channel3Environment.PRODUCTION, ) client.collections.update( collection_id="collection_id", )
const options = { method: 'PATCH', headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'}, body: JSON.stringify({}) }; 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 PATCH \ --url https://api.trychannel3.com/v1/collections/{collection_id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{}'
200
Example
Rename a collection and/or add, replace, or remove clauses by id.
1000
Show child attributes
Replace existing clauses in place by clause_id. Position in the clauses list is unchanged.
Successful Response
Was this page helpful?