GitLab API icon

GitLab API

Gitlab

Actions1062

Users → postApiV4UsersIdFollow

AI-generated

Summary

Follow a GitLab user by ID. The authenticated user will start following the specified user and the operation returns the followed user's details.

Inputs

  • id (required) — The ID of the user to follow (integer).
  • skipAuthentication — If true, the node will not use the GitLab API credentials for authentication.
  • baseUrl — Base URL of the GitLab instance (e.g., https://gitlab.example.com). Defaults to https://gitlab.com.

Output shape

object

Returns the followed user object as returned by the GitLab API (includes fields such as id, username, name, etc.).

Examples

Example 1: Follow user with ID 42

Set Path Parameters → Id = 42 (leave other fields at defaults)

Links

Discussion