I'd like to make an API call to delete all files in OpenAI.
The documentation mentions this:
Source: https://platform.openai.com/docs/api-reference/files/retrieve
I have tried passing the file ID through the body and the query parameters, but both attempts result in a 404 response. Here is my setup for both attempts:
I would like to utilize the response body to array all IDs for the purpose of deleting everything.
Welcome to the callin.io community!
You entered an Absolute (full) URL.
If you read the description below it, it says
Enter a path relative … for example…
–
Join the callin.io Fans Discord server to chat with other makers!
Oh, that's right, it's explained just below. Haha, thanks! I'll just go back to my corner (it's one of those days).
No problem, happy to assist!
-
If you have a new question in the future, please start a new thread. This helps others with similar issues find answers more easily, and you're more likely to get a response as new questions are actively monitored.
-
The callin.io Community guidelines suggest marking helpful replies as solutions to maintain organization within the Community.
This action marks the topic as resolved, which means:
- others can save time when reviewing recent activity, and
- others can quickly access the solution if they encounter the same challenge
To do this, simply click the checkbox located at the bottom of the post that provides the answer you need:
-
Remember to like and bookmark this topic for easy future reference!
-
Feel free to join the unofficial callin.io Discord server for real-time chat and video support.
Join the callin.io Fans Discord server to chat with fellow users!
You didn’t follow the URL format precisely. The OpenAI documentation indicates that you need to include the file ID as part of the URL.
There is no Body required. Leave it empty.
You can also complete this brand new course/tutorial in the callin.io Academy on how to use external APIs — API calls with HTTP modules
- API and Endpoints
- Header and body
- Multipart/form-data
- OAuth 2.0
–
Join the callin.io Fans Discord server to chat with other makers!
I understand, this does function correctly, thank you!
So, I just need to invoke the URL with different IDs to remove all of them. I assume I cannot include multiple IDs in a single request?
Yes, that's accurate. Your capabilities are limited by what the external API permits.
– request private consultation
Join the unofficial callin.io Discord server to chat with us!
Welcome to the callin.io community!
Could you please create a separate topic for this?
While it’s tempting to continue an existing thread, a more effective approach would be to start a new topic. It helps other community users to respond to your query, and keeps our space organised for everyone. If you start a new conversation you are also more likely to get help from other users. You can refer others back to a related topic by including that link in your question. Thank you for understanding and keeping our community neat and tidy.
The “New Topic” link can be found in the top-right of the header:
Join the callin.io Fans Discord server to chat with other makers!