Refactor port again
Some checks failed
CI / Test (1.22) (push) Failing after -24m17s
CI / Test (1.23) (push) Failing after -24m17s
CI / Build (push) Successful in -26m37s
CI / Lint (push) Successful in -26m23s

This commit is contained in:
Hein
2026-02-04 14:22:12 +02:00
parent 52241190b5
commit 592ed24204
16 changed files with 76 additions and 76 deletions

View File

@@ -320,7 +320,7 @@ Account settings are stored in `config.json`:
**List accounts:**
```bash
curl -u username:password http://localhost:8025/api/accounts
curl -u username:password http://localhost:8825/api/accounts
```
**Add account:**
@@ -336,7 +336,7 @@ curl -u username:password \
"session_path": "./sessions/new-account",
"show_qr": true
}' \
http://localhost:8025/api/accounts/add
http://localhost:8825/api/accounts/add
```
**Update account:**
@@ -355,7 +355,7 @@ curl -u username:password \
"api_version": "v21.0"
}
}' \
http://localhost:8025/api/accounts/update
http://localhost:8825/api/accounts/update
```
**Disable account:**
@@ -365,7 +365,7 @@ curl -u username:password \
-X POST \
-H "Content-Type: application/json" \
-d '{"id": "my-account"}' \
http://localhost:8025/api/accounts/disable
http://localhost:8825/api/accounts/disable
```
**Enable account:**
@@ -375,7 +375,7 @@ curl -u username:password \
-X POST \
-H "Content-Type: application/json" \
-d '{"id": "my-account"}' \
http://localhost:8025/api/accounts/enable
http://localhost:8825/api/accounts/enable
```
**Remove account:**
@@ -385,7 +385,7 @@ curl -u username:password \
-X POST \
-H "Content-Type: application/json" \
-d '{"id": "my-account"}' \
http://localhost:8025/api/accounts/remove
http://localhost:8825/api/accounts/remove
```
---