跳轉到

刪除提示詞

此 API 用於刪除指定的 Prompt。

透過提供 prompt_id ,你可以將該提示詞從系統中移除,刪除後無法復原。

curl -X 'DELETE' \
  'http://127.0.0.1:8000/v1/prompt/{prompt_id}' \
  -H 'Authorization: Bearer <your-api-key>'

Request Headers

Key Value
Request Method DELETE
Authorization Bearer

Response Headers

Key Value
Status Code 204