diff --git a/documentation/docs/changelog/0.1.7.md b/documentation/docs/changelog/0.1.7.md index a95c2f86..edc6b237 100644 --- a/documentation/docs/changelog/0.1.7.md +++ b/documentation/docs/changelog/0.1.7.md @@ -117,7 +117,7 @@ New API endpoints are available for automating various administrative tasks or i ``` - Create account ```bash - 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 + 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_name": "PLAN_NAME_HERE"}' http://PANEL:2087/api/users ``` - Suspend account ```bash @@ -137,7 +137,7 @@ New API endpoints are available for automating various administrative tasks or i ``` - Change plan ```bash - curl -X PUT -H "Content-Type: application/json" -H "Authorization: Bearer JWT_TOKEN_HERE" -d '{"plan_id": "PLAN_ID_HERE"}' http://PANEL:2087/api/users/USERNAME_HERE + curl -X PUT -H "Content-Type: application/json" -H "Authorization: Bearer JWT_TOKEN_HERE" -d '{"plan_name": "PLAN_NAME_HERE"}' http://PANEL:2087/api/users/USERNAME_HERE ``` - Autologin ```bash