From 1b6d1c7db618a8e2e6d369b3d4c215b01aa39b62 Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Wed, 7 Aug 2024 23:24:20 +0800 Subject: [PATCH] Updated FAQ (markdown) --- FAQ.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/FAQ.md b/FAQ.md index 27db3f3..e02dd9b 100644 --- a/FAQ.md +++ b/FAQ.md @@ -438,9 +438,16 @@ https://github.com/rustdesk/rustdesk/discussions/2889#discussioncomment-6514549 ![image](https://github.com/user-attachments/assets/e0fea4de-fe6c-4978-93ff-5879fc8412a8) ![image](https://github.com/user-attachments/assets/047a5c6f-0264-474a-977c-60dffc2aaf84) - - - +# API of RustDesk server Pro + +- Devices: https://github.com/rustdesk/rustdesk-server-pro/discussions/182#discussioncomment-9083837 +- Users: Please create a token (check above link for devices) with `Read and write` of `User Permission`. + Download https://raw.githubusercontent.com/rustdesk/rustdesk/master/res/users.py. +``` +python3 users.py view --url http://rustdesk.yourcompany.com --token --name test +python3 users.py disable --url http://rustdesk.yourcompany.com --token --name test +python3 users.py delete --url http://rustdesk.yourcompany.com --token --name test +```