Hello,
I’m trying to get a user with his email address though the API but it doest not seem to work like intended.
The documentation says we can use an id, a username or an email address.
I have already tried the following requests:
curl --header “PRIVATE-TOKEN: MY-TOKEN” “https://URL/api/v4/users?username=user@gmail.com”
curl --header “PRIVATE-TOKEN: MY-TOKEN” “https://URL/api/v4/users?search=user@gmail.com”
I have also tried with the users.list() method from the python-gitlab lib but it does not work either.
It works fine with a username or a user id.
Is that a known issue ? Is this feature not available anymore and the documentation is outdated ?
Regards
Nicolas