Post API v1 user
Changed onpost/api/v1/user
Request
- The document declares no server URL.
- Auth: HTTP bearer
Request body
Example request
{
"$schema": "https://example.com/schemas/CreateUserBody.json",
"bio": "My name is Suli and I'm a pro athlete",
"division": 1,
"email": "suli123@email.com",
"expected_grad_year": 2027,
"first_name": "Suli",
"last_name": "Suli",
"sport": "[\"hockey\",\"soccer\"]",
"username": "suliproathlete",
"verified_athlete_status": "pending"
}Response
OK
Example response
{
"$schema": "https://example.com/schemas/CreateUserResponse.json",
"id": "1",
"name": "Joe",
"role": {
"id": "1",
"name": "user"
}
}Changes
- ●
removed the request property
- ●
- ▲
api path removed without deprecation
- ○
endpoint added
- ▲