mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-20 05:53:19 +03:00
Updated FAQ (markdown)
3
FAQ.md
3
FAQ.md
@@ -633,7 +633,8 @@ python3 users.py view --url http://rustdesk.yourcompany.com --token <token> --na
|
|||||||
python3 users.py disable --url http://rustdesk.yourcompany.com --token <token> --name test
|
python3 users.py disable --url http://rustdesk.yourcompany.com --token <token> --name test
|
||||||
python3 users.py enable --url http://rustdesk.yourcompany.com --token <token> --name test
|
python3 users.py enable --url http://rustdesk.yourcompany.com --token <token> --name test
|
||||||
```
|
```
|
||||||
- Audit logs: please create a token (check above link for devices) with `Read` of `Audit Log Permission` first, use api endpoints `/api/audits/conn`, `/api/audits/file`, `/api/audits/alarm`, `/api/audits/console`, only support 'Get' for logs. Avaiable filters are `remote`, `local`, `created_at`, `remote_device_name`, `local_device_name`, same to what you see on the web console. We do not create `logs.py` for you yet, but you can modify `view` function in https://raw.githubusercontent.com/rustdesk/rustdesk/master/res/users.py, replace `{url}/api/users` with `{url}/api/audits/conn` / `{url}/api/audits/file` / `{url}/api/audits/alarm` / `{url}/api/audits/console`.
|
- Audit logs: please create a token (check above link for devices) with `Read` of `Audit Log Permission` first, use api endpoints `/api/audits/conn`, `/api/audits/file`, `/api/audits/alarm`, `/api/audits/console`, only support 'Get' for logs. Avaiable filters are `remote`, `local`, `created_at`, `remote_device_name`, `local_device_name`, same to what you see on the web console.
|
||||||
|
We do not create `logs.py` for you yet, but you can modify `view` function in https://raw.githubusercontent.com/rustdesk/rustdesk/master/res/users.py, replace `{url}/api/users` with `{url}/api/audits/conn` / `{url}/api/audits/file` / `{url}/api/audits/alarm` / `{url}/api/audits/console`.
|
||||||
|
|
||||||
# Delete devices with API
|
# Delete devices with API
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user