Atlas
Admin — Prompts

Delete a prompt item

Permanently removes a prompt item. The parent collection must not be built-in.

DELETE
/api/v1/admin/prompts/{collectionId}/items/{itemId}

Path Parameters

collectionId*string
Length1 <= length <= 128
itemId*string
Length1 <= length <= 128

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "http://localhost:3001/api/v1/admin/prompts/abc123/items/def456"
{
  "deleted": true
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}