PUT
/user
curl \
--request PUT '/api/user' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"bio":"I work at State Farm.","email":"jake@jake.jake","image":null,"username":"jake"}'
Request examples
{
"bio": "I work at State Farm.",
"email": "jake@jake.jake",
"image": null,
"username": "jake"
}
Response examples (200)
{
"user": {
"bio": "I work at State Farm.",
"email": "jake@jake.jake",
"image": null,
"token": "jwt.token.here",
"username": "jake"
}
}
Response examples (422)
{
"errors": {
"body": [
"string"
]
}
}