mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-07-15 17:15:17 +00:00
api/users: mark tokens and groups as optional in return schema
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
3a4ed52781
commit
72c4589c33
@ -294,12 +294,14 @@ __PACKAGE__->register_method ({
|
||||
keys => get_standard_option('user-keys'),
|
||||
groups => {
|
||||
type => 'array',
|
||||
optional => 1,
|
||||
items => {
|
||||
type => 'string',
|
||||
format => 'pve-groupid',
|
||||
},
|
||||
},
|
||||
tokens => {
|
||||
optional => 1,
|
||||
type => 'object',
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user