GitLab API

GitlabTool

Actions1095

Integrations → putApiV4ProjectsIdIntegrationsSlack

AI-generated

Summary

Update the Slack integration settings for a specific GitLab project by sending a PUT request to the project's Slack integration endpoint.

Inputs

  • id (required) — The ID of the GitLab project whose Slack integration you want to update.
  • putApiV4ProjectsIdIntegrationsSlack (required) — The request body containing the configuration settings to update the Slack integration.
  • skipAuthentication — Boolean flag to skip authentication if set to true; otherwise, uses GitLab API credentials.
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.

Output shape

a JSON object representing the updated Slack integration configuration for the specified project

The output is the response from the PUT API call to '/api/v4/projects/{id}/integrations/slack'. Make sure the mandatory path parameter 'id' and request body are provided. Authentication is required unless explicitly skipped.

Examples

Example 1: Update Slack integration for project 123

Set 'id' to 123 and provide the Slack integration settings in the request body; the node performs a PUT request to update the integration on GitLab.

Links

Discussion