GitLab API

GitlabTool

Actions1095

Users → getApiV4UsersId

AI-generated

Summary

Retrieve detailed information about a GitLab user by their user ID, optionally including custom attributes in the response.

Inputs

  • Id (required) — The ID of the GitLab user to retrieve information for, specified as a path parameter.
  • With_custom_attributes — Set to true to include custom attributes in the returned user data as a query parameter.
  • Skip Authentication — Set to true to skip authentication for this request. Defaults to false, requiring GitLab API credentials.
  • Method — HTTP method to use for the request; defaults to GET.

Output shape

a JSON object representing the requested GitLab user's details

The output format conforms to the GitLab API v4 user schema. Including custom attributes depends on the 'With_custom_attributes' input. If 'Skip Authentication' is true and authentication is required, the operation may fail.

Links

Discussion