mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-28 10:55:54 +03:00
[GH-ISSUE #4694] Unable to delete proxy host with API -- http 403 error #2984
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#2984
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mg-oerp on GitHub (Aug 5, 2025).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4694
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
Unable to delete proxy hosts with API, gives 403 errors. Everything else works as expected including UI delete with same credentials
Nginx Proxy Manager Version
2.12.6
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Deleting the proxy host as directed
Screenshots
Operating System
Additional context
I've built a quick FastAPI python based setup for automation purposes. It all works fine so far except for the delete, which comes back with a 403 error each time (even when running from a swagger instance). Here's a code snippet:
ERROR: Failed to delete proxy host with ID 42. Status code: 403, Response: {"error":{"code":403,"message":"Permission Denied"}}@mg-oerp commented on GitHub (Aug 5, 2025):
In this case proxy host 42 exists and with the exact same credentials I'm able to delete in the UI.
@mg-oerp commented on GitHub (Aug 5, 2025):
Ignore the man behind the keyboard, works when you do things properly ;)