Update 0.1.7.md
This commit is contained in:
parent
015e167496
commit
44d2d09a8f
|
@ -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
|
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
|
- 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
|
- Unsuspend account
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in a new issue