mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #3749] Document all available API endpoints #2472
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#2472
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 @kmanwar89 on GitHub (May 13, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3749
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
Several key API endpoints are not included in the OpenAPI schema; namely, deleting a proxy host, details around the required fields for programmatically creating a proxy host, etc. I've had to use browser developer tools to reverse-engineer the path to discover this endpoint (which helped tremendously in quickly deleting proxy hosts)
Nginx Proxy Manager Version
2.11.2
To Reproduce
Steps to reproduce the behavior:
There is nothing to reproduce - the behavior is that the feature is missing altogether.
Expected behavior
Expectation is for all available API endpoints to be included in the API schema document (or a Postman, or equivalent, collection provided for easy import)
Screenshots

Screenshot shows the only available schema details (as displayed in Firefox from /api/schema)
Missing from this screenshot is the /DELETE endpoint (
curl --location --request DELETE 'https://npm.mydomaincom/api//nginx/proxy-hosts/HOST_ID_NUMBER' \ --header 'Authorization: Bearer BEARER_TOKEN_VALUE_HERE)Operating System
Docker container running on Ubuntu Server 22.04 LTS - underlying OS shouldn't play a factor here.
Additional context
Happy to expand further if above information isn't sufficient, thanks!
@gadget78 commented on GitHub (May 13, 2024):
https://github.com/NginxProxyManager/nginx-proxy-manager/discussions/3195
i talk about the API and wheres a good place to look for info here..
@kmanwar89 commented on GitHub (May 13, 2024):
Thank you @gadget78 - that's helpful, and it appears we have multiple people all investigating what seems to be a common thread here - the API document is definitely in need of improvement.
I'm not a developer, just a nerd with too much time on his hands in the evenings, but I've been able to cobble together enough information to at least add/remove hosts, and that's enough for the time being. Maybe if/when v3 is finally released, the documentation will be a bit more updated. I'd love to contribute to the development if possible, but I'm not sure how I can help.
@kmanwar89 commented on GitHub (May 13, 2024):
Related issues and threads:
#1976
#3265
#3195
#3726
#1619
@github-actions[bot] commented on GitHub (Dec 27, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@kmanwar89 commented on GitHub (Dec 29, 2024):
Bad bot - the issue isn't stale!
@kmanwar89 commented on GitHub (Dec 29, 2024):
@jc21 would appreciate any guidance you can offer on this issue please and thank you!
@github-actions[bot] commented on GitHub (Sep 2, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍