21 lines
373 B
Markdown
21 lines
373 B
Markdown
# /api/users/:user_id
|
|
|
|
Interact with a specific user.
|
|
|
|
## GET /api/users/:user_id
|
|
|
|
Get the user specified by `:user_id`. (user match/admin)
|
|
|
|
## PUT /api/users/:user_id
|
|
|
|
Update the user specified by `:user_id`. (user match/admin)
|
|
|
|
```
|
|
{
|
|
username?: string; // update username
|
|
}
|
|
```
|
|
|
|
## DELETE /api/users/:user_id
|
|
|
|
Delete the user specified by `:user_id`. (user match/admin)
|