GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows transferring a GitLab group to a new namespace by making a POST request to the GitLab API endpoint `/api/v4/groups/{id}/transfer`. It is useful for automating group management tasks such as reorganizing group ownership or structure within GitLab.

Use Case Examples

  1. Transferring a GitLab group with a specific group ID to a new namespace programmatically.
  2. Automating group transfers as part of a larger DevOps workflow to maintain project organization.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for testing or when authentication is handled externally.
Authentication Specifies the authentication method to use, 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 POST is used for this operation.
Path Parameters Parameters to be included in the request path, specifically the group ID for this operation.

Output

JSON

  • id - The ID of the transferred group.
  • name - The name of the transferred group.
  • path - The path of the transferred group.
  • full_path - The full path of the transferred group after transfer.
  • parent_id - The ID of the new parent namespace after transfer.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and exists in GitLab.
  • Verify that the API key used has sufficient permissions to transfer groups.
  • Check the base URL to ensure it points to the correct GitLab instance.
  • If skipping authentication, ensure the endpoint is accessible without authentication, which is uncommon for this operation.

Links

Discussion