Delete source
curl --request DELETE \
--url https://sync.trychroma.com/api/v1/sources/{source_id} \
--header 'x-chroma-token: <api-key>'import requests
url = "https://sync.trychroma.com/api/v1/sources/{source_id}"
headers = {"x-chroma-token": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'x-chroma-token': '<api-key>'}};
fetch('https://sync.trychroma.com/api/v1/sources/{source_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));false{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Source
Delete source
Deletes a source with the provided ID.
DELETE
/
api
/
v1
/
sources
/
{source_id}
Delete source
curl --request DELETE \
--url https://sync.trychroma.com/api/v1/sources/{source_id} \
--header 'x-chroma-token: <api-key>'import requests
url = "https://sync.trychroma.com/api/v1/sources/{source_id}"
headers = {"x-chroma-token": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'x-chroma-token': '<api-key>'}};
fetch('https://sync.trychroma.com/api/v1/sources/{source_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));false{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Was this page helpful?
⌘I