GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a specific group from the job token scope groups allowlist of a GitLab project. It is useful for managing project security by controlling which groups are allowed job token access. For example, a user can remove a group that should no longer have permission to use job tokens in a particular project.

Use Case Examples

  1. Remove a group from the allowlist of a project to restrict job token access.
  2. Manage project job token scope groups dynamically by deleting groups from the allowlist.

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 project ID and target group ID to remove from the allowlist.

Output

JSON

  • statusCode - HTTP status code of the response
  • body - Response body from the API call, typically empty for delete operations

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and target group ID are correct and exist in GitLab.
  • Verify that the API key has sufficient permissions to modify the project's job token scope groups allowlist.
  • Common error messages include 404 Not Found if the project or group does not exist, and 403 Forbidden if the API key lacks permissions.

Links

Discussion