GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes the override of a group member's permissions in GitLab. It is useful for managing group membership and permissions by removing any specific permission overrides for a user within a group. For example, if a user had custom permissions set in a group, this operation will remove those overrides, reverting the user to default group permissions.

Use Case Examples

  1. Removing a user's permission override in a GitLab group to reset their access rights.
  2. Automating group membership management by clearing permission overrides for users who no longer require special access.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication The authentication method used for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method used for the request, defaulting to GET but can be set to DELETE for this operation.
Path Parameters Parameters required in the request path, including the group ID and the user ID of the member whose override is to be deleted.

Output

JSON

  • statusCode - The HTTP status code returned by the API after the delete operation.
  • responseBody - The body of the response returned by the API, typically empty for a successful delete operation.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID and user ID are correctly specified and exist in GitLab to avoid 404 errors.
  • Verify that the API key used has sufficient permissions to manage group members and delete overrides.
  • Check network connectivity and the base URL configuration if the request fails to reach the GitLab server.

Links

Discussion