GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes a billable member from a specified group in GitLab. It is useful for managing group memberships and billing by removing a user's billable status within a group. For example, an admin can use this to revoke billing privileges of a user who no longer needs access to group resources.

Use Case Examples

  1. Remove a user from the billable members list of a GitLab group by specifying the group ID and the user ID.
  2. Automate the cleanup of billable members in groups to manage billing efficiently.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is GitLab API key.
baseUrl 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 group ID and user ID to identify the billable member to delete.

Output

JSON

  • statusCode - HTTP status code of the response indicating success or failure of the delete operation.
  • body - Response body from the GitLab API, typically empty for a successful delete operation.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID and user ID are correct and exist in GitLab to avoid 404 errors.
  • Check that the API key has sufficient permissions to delete billable members from groups.
  • If authentication is skipped, ensure the base URL is accessible without authentication or the request will fail.
  • Common error messages include 401 Unauthorized (invalid or missing API key) and 403 Forbidden (insufficient permissions).

Links

Discussion