GitLab API

GitlabTool

Actions905

Overview

This node operation updates the Microsoft Teams integration settings for a specific GitLab group by sending a PUT request to the GitLab API endpoint `/api/v4/groups/{id}/integrations/microsoft-teams`. It is useful for automating the configuration of Microsoft Teams integration within GitLab groups, enabling notifications and collaboration features between GitLab and Microsoft Teams.

Use Case Examples

  1. Automatically update Microsoft Teams integration settings for a GitLab group when group configurations change.
  2. Enable or modify Microsoft Teams notifications for specific GitLab groups as part of a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request; for this operation, it is PUT.
Path Parameters Parameters included in the request path, specifically the group ID to identify which group's Microsoft Teams integration to update.

Output

JSON

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

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the API key credential has sufficient permissions to update group integrations.
  • Check the base URL to confirm it points to the correct GitLab instance.
  • If skipping authentication, the request may fail due to lack of authorization.

Links

Discussion