GitLab API

GitlabTool

Actions1000

Overview

This node operation approves a member requiring approval in a specific GitLab group. It is useful in scenarios where group administrators need to manage membership approvals programmatically, such as automating group member management workflows or integrating GitLab group management into broader automation systems.

Use Case Examples

  1. Automatically approve pending group members when certain criteria are met.
  2. Integrate group member approval into a CI/CD pipeline or administrative dashboard.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but can be set to PUT for this operation.
Path Parameters Parameters required in the URL path to identify the group and member to approve.

Output

JSON

  • id - The ID of the group.
  • member_id - The ID of the member approved.
  • status - The approval status of the member after the operation.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and member ID are correct and exist in GitLab to avoid 404 errors.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials.
  • HTTP method must be set to PUT for this approval operation; using other methods may result in errors.

Links

Discussion