Delete page "create_user.md"
parent
8e3e27a213
commit
a9f93a7ce3
@ -1,24 +0,0 @@
|
|||||||
# Create User
|
|
||||||
|
|
||||||
Creates a new user in the database.
|
|
||||||
Endpoint
|
|
||||||
|
|
||||||
## POST `/api/create_user`
|
|
||||||
|
|
||||||
|
|
||||||
## Request Body
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"username": "example_user",
|
|
||||||
"password": "example_password"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Example Request
|
|
||||||
|
|
||||||
```bash
|
|
||||||
curl -X POST "https://example.com/api/create_user" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-d '{"username": "example_user", "password": "example_password"}'
|
|
||||||
```
|
|
Loading…
Reference in New Issue
Block a user