GitLab API

GitlabTool

Actions1000

Overview

This node operation allows a user to unfollow another user on GitLab by making a POST request to the GitLab API endpoint `/api/v4/users/{id}/unfollow`. It is useful in scenarios where automation workflows need to manage user follow relationships on GitLab, such as unfollowing users programmatically based on certain triggers or conditions.

Use Case Examples

  1. Automatically unfollow a user after a project milestone is reached.
  2. Unfollow users who are no longer relevant to a team's collaboration.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the request, hidden unless Skip Authentication is false.
baseUrl Base URL for the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but POST is used for this operation.
Path Parameters Parameters to be included in the request path, specifically the user ID to unfollow.

Output

JSON

  • id - The ID of the user who was unfollowed.
  • status - The status or result of the unfollow operation.

Dependencies

  • GitLab API authentication

Troubleshooting

  • Ensure the user ID provided in the path parameters is valid and exists on GitLab.
  • Verify that the authentication credentials are correctly set unless Skip Authentication is enabled.
  • Check that the baseUrl is correctly set to the GitLab instance you are targeting.
  • Common error messages may include 404 Not Found if the user ID does not exist, or 401 Unauthorized if authentication fails.

Links

Discussion