Code Search API within user/organization

According to https://docs.github.com/en/free-pro-team@latest/github/searching-for-information-on-github/searching-code#search-within-a-users-or-organizations-repositories it should be possible to limit a code search to a user’s or organization’s repositories.

For example, I have code with the word Abiyoyo in it. I can do a successful advanced search via the web browser for abiyoyo user:JeffreyOI and get my hit. However, a comparable search via shell using the API returns all instances of abiyoyo for all users:

$ curl -u JeffreyOI:$token -H "Accept:application/vnd.github.v3+json" "https://api.github.com/search/code?q=abiyoyo&user:jeffreyoi"

Why doesn’t this display the expected behavior?

Thanks, Jeff