GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates the Discord integration settings for a specific GitLab group by sending a PUT request to the GitLab API endpoint `/api/v4/groups/{id}/integrations/discord`. It is useful for automating the management of Discord integrations within GitLab groups, such as configuring notification settings or updating integration parameters programmatically.

Use Case Examples

  1. Automatically update Discord integration settings for a GitLab group when certain project events occur.
  2. Manage multiple GitLab group Discord integrations in bulk through workflow automation.

Properties

Name Meaning
Skip Authentication Determines whether to skip API authentication for the request.
Authentication Specifies the authentication method to use for the API request, hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the API request, default is GET but for this operation it is PUT.
Path Parameters Parameters included in the API request path, specifically the group ID for this operation.

Output

JSON

  • statusCode - HTTP status code returned by the API request
  • body - Response body containing the updated Discord integration details or error information

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID path parameter is correctly provided and valid to avoid 404 errors.
  • Verify that the API key credential has sufficient permissions to update group integrations to prevent authorization errors.
  • Check the base URL is correctly set to the GitLab instance URL to avoid connection issues.

Links

Discussion