From 44d2d09a8f1a24c9b5e5e5c38d7b91316658ad20 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Wed, 1 May 2024 16:47:56 +0200 Subject: [PATCH] Update 0.1.7.md --- documentation/docs/changelog/0.1.7.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/documentation/docs/changelog/0.1.7.md b/documentation/docs/changelog/0.1.7.md index 59e372e..64c8bf4 100644 --- a/documentation/docs/changelog/0.1.7.md +++ b/documentation/docs/changelog/0.1.7.md @@ -112,7 +112,8 @@ New API endpoints are available for automating various administrative tasks or i curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer JWT_TOKEN_HERE" -d '{"email": "EMAIL_HERE", "username": "USERNAME_HERE", "password": "PASSWORD_HERE", "plan_id": "PLAN_ID_HERE"}' http://PANEL:2087/api/users ``` - Suspend account - ```bashcurl -X PATCH -H "Content-Type: application/json" -H "Authorization: Bearer JWT_TOKEN_HERE" -d '{"action": "suspend"}' http://PANEL:2087/api/users/USERNAME_HERE + ```bash + curl -X PATCH -H "Content-Type: application/json" -H "Authorization: Bearer JWT_TOKEN_HERE" -d '{"action": "suspend"}' http://PANEL:2087/api/users/USERNAME_HERE ``` - Unsuspend account ```bash