The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,444 other followers

[solved]Where is my user ID in GitLab.com? – HowTo – GitLab Community Forum

Posted by jpluimers on 2018/12/06

Try https://gitlab.com/api/v4/users?username=??? where ??? is your username. This will only work if you are already logged into gitlab.

Alternatively,

  1. go to https://gitlab.com/profile/account and copy your Private token.
  2. Then run the following command from a bash-like terminal:
    curl --header "PRIVATE-TOKEN: AAAA" https://gitlab.com/api/v4/users?username=BBBB
    where AAAA is your private token and BBBB is your username.

Source: [WayBack[solved]Where is my user ID in GitLab.com? – HowTo – GitLab Community Forum

Works:

  1. https://gitlab.com/users/sign_in
  2. https://gitlab.com/api/v4/users?username=wiert

Via the ID, you can find the issues assigned to the user:

–jeroen

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: