GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation updates the TeamCity integration settings for a specific GitLab group by sending a PUT request to the GitLab API endpoint `/api/v4/groups/{id}/integrations/teamcity`. It is useful for automating the configuration of TeamCity CI/CD integration within GitLab groups, allowing users to programmatically manage integration settings such as enabling or disabling the integration, setting project URLs, and other TeamCity-specific options.

Use Case Examples

  1. Automatically update TeamCity integration settings for a GitLab group as part of a CI/CD pipeline setup.
  2. Enable or disable TeamCity integration for multiple GitLab groups in bulk via workflow automation.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request (boolean). Defaults to false.
Authentication The authentication method used for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent. Defaults to https://gitlab.com.
Method The HTTP method used for the request. For this operation, it is PUT.
Path Parameters The path parameters for the API request, specifically the group ID (`id`) identifying the GitLab group to update the TeamCity integration for.

Output

JSON

  • response - The JSON response from the GitLab API after updating the TeamCity integration settings for the specified group.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the provided group ID (`id`) is valid and the authenticated user has permission to update integrations for that group.
  • Verify that the base URL is correct and accessible if using a self-hosted GitLab instance.
  • Check that the request body schema matches the expected TeamCity integration settings format to avoid validation errors from the API.

Links

Discussion