GitLab API icon

GitLab API

Gitlab

Actions1062

Integrations → putApiV4ProjectsIdServicesSlack

AI-generated

Summary

Update the Slack service integration settings for a specific GitLab project by its ID.

Inputs

  • id (required) — The unique identifier of the GitLab project for which to update the Slack integration settings.
  • requestBody (required) — The body containing the Slack service configuration parameters to apply to the project.
  • baseUrl — Optional base URL to override the default GitLab instance URL (defaults to https://gitlab.com).
  • skipAuthentication — Optional flag to skip authentication when making the request (default is false).

Output shape

a single record representing the updated Slack service configuration for the specified project

The operation sends a PUT request to the /api/v4/projects/{id}/services/slack endpoint and returns the updated configuration as JSON. The request requires authentication unless 'skipAuthentication' is enabled.

Examples

Example 1: Update Slack integration for a GitLab project

Provide the Project ID path parameter and the Slack service settings in the request body to update the Slack integration via GitLab API.

Links

Discussion