DELETE
/
v1
/
store
/
file
/
read
/
{key}
import { JigsawStack } from "jigsawstack";

const key = "file.png";

const jigsawstack = JigsawStack({
  apiKey: "your-api-key",
});
const result = await jigsawstack.store.delete(key);
{
  "success": true
}

Path

key
string
required

The key of the file to be deleted.

x-api-key
string
required

Your JigsawStack API key

Response

success
boolean

Indicates whether the call was successful.

import { JigsawStack } from "jigsawstack";

const key = "file.png";

const jigsawstack = JigsawStack({
  apiKey: "your-api-key",
});
const result = await jigsawstack.store.delete(key);
{
  "success": true
}