Skip to content

[bug] Delete Firmware image API endpoint not working #245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
PrajvalRaval opened this issue Jul 18, 2023 · 1 comment
Closed

[bug] Delete Firmware image API endpoint not working #245

PrajvalRaval opened this issue Jul 18, 2023 · 1 comment
Labels
invalid This doesn't seem right

Comments

@PrajvalRaval
Copy link

PrajvalRaval commented Jul 18, 2023

When trying to use the /api/v1/firmware-upgrader/build/{build_id}/image/{id}/ endpoint using the correct parameters returns a 200 status code however firmware image is not getting deleted from the build.

@nemesifier nemesifier changed the title [Bug] Delete Firmware image API endpoint not working [bug] Delete Firmware image API endpoint not working Mar 5, 2024
@nemesifier nemesifier added the invalid This doesn't seem right label Apr 15, 2025
@nemesifier
Copy link
Member

The fact that you get HTTP status code 200 instead of 204 indicates that probably you're doing something wrong.

I could not reproduce the issue on the current master as you can see in the following recording.

Peek.2025-04-15.15-35.webm

How are you executing the HTTP requests? Keep in mind you need to use the DELETE HTTP verb, because GET will simply return the image details.

I don't think it's a bug. If you think it's a bug please provide precise instructions on how to replicate the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants