prompts

Delete Prompt

Delete a prompt

👉 Prompt docs

Example Request:

curl -X DELETE "http://localhost:4000/prompts/my_prompt_id" \
    -H "Authorization: Bearer <your_api_key>"

Example Response:

{
    "message": "Prompt my_prompt_id deleted successfully"
}
delete/prompts/{prompt_id}

Path parameters

prompt_idstring required

Query parameters

environmentstring nullable

Response

Successful Response

{"stackTrail":"paths:/prompts/{prompt_id}:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 16 of the 42 revisions of this API.34

    • ○

      api tag prompts added

      api-tag-added

    • ○

      api tag Prompt Management removed

      api-tag-removed

    • ○

      api tag Prompt Management added

      api-tag-added

    • ○

      api tag prompts removed

      api-tag-removed

    • ○

      api tag prompts added

      api-tag-added

    • ○

      api tag Prompt Management removed

      api-tag-removed

    • ○

      api tag Prompt Management added

      api-tag-added

    • ○

      api tag prompts removed

      api-tag-removed

    • ○

      api tag prompts added

      api-tag-added

    • ○

      api tag Prompt Management removed

      api-tag-removed

    • ○

      api tag Prompt Management added

      api-tag-added

    • ○

      api tag prompts removed

      api-tag-removed

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      api tag prompts added

      api-tag-added

    • ○

      api tag Prompt Management removed

      api-tag-removed

    • ○

      api tag Prompt Management added

      api-tag-added

    • ○

      api tag prompts removed

      api-tag-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      api tag prompts added

      api-tag-added

    • ○

      api tag Prompt Management removed

      api-tag-removed

    This revision also has 21 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      api tag Prompt Management added

      api-tag-added

    • ○

      api tag prompts removed

      api-tag-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog