import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const file = await client.beta.files.delete('file_id');
console.log(file.id);
{
"id": "<string>",
"object": "<string>",
"deleted": true
}
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const file = await client.beta.files.delete('file_id');
console.log(file.id);
{
"id": "<string>",
"object": "<string>",
"deleted": true
}