Hi, can I export all users for each organizations to csv via cli? or other ways ?
thankyou.
Hi, can I export all users for each organizations to csv via cli? or other ways ?
thankyou.
You can do it via API.
Follow this manual, and write something like this
response = auth_request(
'GET',
f'/user/{SERVER_ID}',
headers={'Content-Type': 'application/json'})
if response.status_code == 200:
print(response.content.decode('utf-8'))
you can get server ID with pressing Shift key and clicking on server name in Pritunl Web interface