GitLab API

GitlabTool

Actions1095

Users → getApiV4UsersIdAssociationsCount

AI-generated

Summary

Retrieve the count of associations for a specified GitLab user by their user ID.

Inputs

  • id (required) — The ID of the user whose associations count is to be retrieved.
  • baseUrl — Optional base URL of the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Whether to skip authentication for this request; defaults to false.

Output shape

a JSON object containing the count of associations for the specified user

The output is returned from the GitLab API endpoint /api/v4/users/{id}/associations_count and requires the user ID as a path parameter. Authentication via the configured credential is typically required unless explicitly skipped.

Links

Discussion