PUT
/api/v1/users/{_username}
curl \
-X PUT https://spmb-api-c3753c42f80c.herokuapp.com/api/v1/users/{_username} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"user":{"email":"michael@gmail.com","username":"michael","password":"string","password_confirmation":"string"}}'
Request example
{
"user": {
"email": "michael@gmail.com",
"username": "michael",
"password": "string",
"password_confirmation": "string"
}
}