DELETE
/
v1
/
prompt_engine
/
{id}
import { JigsawStack } from "jigsawstack";

const jigsawstack = JigsawStack({
  apiKey: "your-api-key",
});

const result = await jigsawstack.prompt_engine.delete(
  "e58d762a-9a00-4907-8cab-5ce6221bb6df",
);
{
  "success": true,
  "prompt_engine_id": "e58d762a-9a00-4907-8cab-5ce6221bb6df"
}

Path Params

id
string
required

The prompt ID.

x-api-key
string
required

Your JigsawStack API key

Response

success
boolean

Indicates whether the call was successful.

import { JigsawStack } from "jigsawstack";

const jigsawstack = JigsawStack({
  apiKey: "your-api-key",
});

const result = await jigsawstack.prompt_engine.delete(
  "e58d762a-9a00-4907-8cab-5ce6221bb6df",
);
{
  "success": true,
  "prompt_engine_id": "e58d762a-9a00-4907-8cab-5ce6221bb6df"
}