Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com> --- api-viewer/PVEAPI.js | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/api-viewer/PVEAPI.js b/api-viewer/PVEAPI.js index 2416161..53bc36c 100644 --- a/api-viewer/PVEAPI.js +++ b/api-viewer/PVEAPI.js @@ -354,6 +354,9 @@ Ext.onReady(function() { permhtml += "Unknown systax!"; } } + if (!info.allowtoken) { + permhtml += "<br />This API endpoint is not available for API tokens." + } sections.push({ title: 'Required permissions', -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel