Access API in Studio #6459

Closed
opened 2026-02-21 18:15:50 -05:00 by yindo · 2 comments
Owner

Originally created by @nameIsNoPublic on GitHub (Oct 30, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.10.1

Cloud or Self Hosted

Self Hosted (Docker), Self Hosted (Source)

Steps to reproduce

Delete Conversation interface
image

But in my result:
image

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @nameIsNoPublic on GitHub (Oct 30, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.10.1 ### Cloud or Self Hosted Self Hosted (Docker), Self Hosted (Source) ### Steps to reproduce Delete Conversation interface ![image](https://github.com/user-attachments/assets/f94ae162-38a6-4317-9861-d3ad0af7910c) But in my result: <img width="540" alt="image" src="https://github.com/user-attachments/assets/fead0894-6933-4012-ba40-354bcef294b9"> ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 18:15:50 -05:00
yindo closed this issue 2026-02-21 18:15:50 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Oct 30, 2024):

To delete a conversation interface in Dify version 0.10.1, you should use the DELETE method on the /conversations/:conversation_id endpoint. Here’s how you can do it:

  1. Authenticate your request using your API key.
  2. Send a DELETE request to the endpoint with the conversation_id in the URL path and include the user identifier in the request body.

Here is an example using cURL:

curl -X DELETE 'https://api.dify.ai/conversations/{conversation_id}' \
--header 'Authorization: Bearer your_api_key_here' \
--header 'Content-Type: application/json' \
--data-raw '{ 
    "user": "your_user_identifier_here"
}'

This request should successfully delete the specified conversation from the Dify platform, and the response will indicate success if the operation is completed [1].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Oct 30, 2024): <!-- Answer --> To delete a conversation interface in Dify version 0.10.1, you should use the DELETE method on the `/conversations/:conversation_id` endpoint. Here’s how you can do it: 1. Authenticate your request using your API key. 2. Send a DELETE request to the endpoint with the `conversation_id` in the URL path and include the `user` identifier in the request body. Here is an example using cURL: ```bash curl -X DELETE 'https://api.dify.ai/conversations/{conversation_id}' \ --header 'Authorization: Bearer your_api_key_here' \ --header 'Content-Type: application/json' \ --data-raw '{ "user": "your_user_identifier_here" }' ``` This request should successfully delete the specified conversation from the Dify platform, and the response will indicate success if the operation is completed <sup>[[1]](https://github.com/langgenius/dify/blob/main/sdks/php-client/dify-client.php)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@crazywoola commented on GitHub (Oct 30, 2024):

Duplicated https://github.com/langgenius/dify/issues/9680

@crazywoola commented on GitHub (Oct 30, 2024): Duplicated https://github.com/langgenius/dify/issues/9680
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6459