Deleting file with binary-api throws 404 not found

Hi im trying to delete a .png file with the help of the binaries-API using Postman…
While the almost similar structured request “[GET] → Retrieve a stored File” is working properly and is carrying the file within the response.
The “[DELETE] → Remove a stored File” request executed with the same managedObjectID returns with a 404 - not found.

What product/components do you use and which version/fix level are you on?

Postman Version 7.36.7

Is your question related to the free trial, or to a production (customer) instance?

Customer

What are you trying to achieve? Please describe it in detail.

Delete File with the binaries-API

Do you get any error messages? Please provide a full error message screenshot and log file.

404 not found

Have you installed all the latest fixes for the products and systems you are using?

Which tenant and which binary?

@thomasH
Can you post the whole URL of GET and DELETE including the id you wanted to delete?
I guess there either something wrong in the url, id or in the headers.

For me it is working fine. DELETE gives me 204 when deleting a binary:
Example:

DELETE {{url}}/inventory/binaries/241031
Response: 204 No Content

Tenent: t1340861817
Filename: avatar-14128.png
ManagedObjectID: 560682

Deleted successfully for me, just turning the GET into a DELETE.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.