from cerebras.cloud.sdk import Cerebras
import os
client = Cerebras(
api_key=os.environ.get("CEREBRAS_API_KEY"),
)
result = client.files.delete("file_123")
print(result)
{
"id": "file_123",
"object": "file",
"deleted": true
}
from cerebras.cloud.sdk import Cerebras
import os
client = Cerebras(
api_key=os.environ.get("CEREBRAS_API_KEY"),
)
result = client.files.delete("file_123")
print(result)
{
"id": "file_123",
"object": "file",
"deleted": true
}
file.from cerebras.cloud.sdk import Cerebras
import os
client = Cerebras(
api_key=os.environ.get("CEREBRAS_API_KEY"),
)
result = client.files.delete("file_123")
print(result)
{
"id": "file_123",
"object": "file",
"deleted": true
}
Was this page helpful?