user
: Dependency. Current active user.
user_id
: If None, update description of current user. If specified, update user with the user_id
Request
Body Params application/json
{
"description": "string",
"user_id": 0
}
Request Code Samples
curl --location --request POST 'http://localhost:8000/user/description' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "string",
"user_id": 0
}'
Responses
{
"user_id": 0,
"campus_id": "string",
"username": "string",
"description": "string",
"created_time": 0
}
Modified at 2024-12-11 01:16:41