npm_call
Call any Nginx Proxy Manager API path directly to manage certificates, access lists, users, settings, and audit logs when built-in host tools don't cover the endpoint.
Instructions
Call any NPM API path directly (the catch-all).
method: GET, POST, PUT, PATCH or DELETE. path: starts with /api/, for example /api/nginx/certificates. data: JSON body for POST and PUT. GET runs right away. POST and PUT need confirm=true after asking the user. DELETE, and anything under /api/users or /api/settings, also needs confirm_phrase set to ' ' exactly, for example 'DELETE /api/nginx/certificates/3'. Login and token paths are blocked. Use npm_hosts for normal hosts and streams. Use this for certificates (create, renew), access lists, users, settings, and the audit log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| path | Yes | ||
| method | Yes | ||
| confirm | No | ||
| confirm_phrase | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||