GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows overriding a group member's permissions in a GitLab group by making a POST request to the GitLab API endpoint `/api/v4/groups/{id}/members/{user_id}/override`. It is useful for managing user access and permissions within GitLab groups programmatically, such as elevating or changing a member's role in a group.

Use Case Examples

  1. Override a specific user's permissions in a GitLab group by specifying the group ID and user ID.
  2. Automate permission management for group members in GitLab through workflows.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, default is false.
Authentication The authentication method used, default is GitLab API key authentication.
baseUrl The base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters for the API path, including the group ID and user ID to specify which member's permissions to override.

Output

JSON

  • id - The ID of the group member whose permissions were overridden.
  • access_level - The new access level assigned to the group member.
  • expires_at - The expiration date of the member's access, if set.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and user ID are correct and exist in GitLab to avoid 404 errors.
  • Verify that the API key has sufficient permissions to override group member permissions.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion