mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-13 03:33:40 +00:00
include allowtoken info in api-viewer
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
6a5754205e
commit
78f5fcdc70
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user