cURL
curl --request POST \ --url https://api.trychroma.com/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/attached_functions/{name}/detach \ --header 'Content-Type: application/json' \ --header 'x-chroma-token: <api-key>' \ --data ' { "delete_output": true } '
{ "success": true }
Tenant ID
Database name
Input collection ID
Attached function name
Whether to delete the output collection as well
Function detached successfully