GitLab API

GitlabTool

Actions1095

Integrations → putApiV4ProjectsIdServicesMattermost

AI-generated

Summary

Update the Mattermost integration settings for a specific GitLab project by sending a PUT request to the GitLab API endpoint.

Inputs

  • id (required) — The numeric ID of the GitLab project for which to update the Mattermost integration settings.
  • putApiV4ProjectsIdServicesMattermost (required) — The request body containing the Mattermost integration configuration to apply to the specified project.
  • baseUrl — Optional base URL of the GitLab instance. Defaults to https://gitlab.com.
  • skipAuthentication — Flag to indicate whether to skip authentication for the request. Defaults to false.

Output shape

a single JSON object representing the updated Mattermost integration configuration for the specified project

Returns the response body from the PUT /api/v4/projects/{id}/services/mattermost API call, reflecting the updated integration settings. Errors are returned within the standard GitLab API error format.

Examples

Example 1: Update a Mattermost integration for project with ID 12345 with new settings

Provide the project ID as 'id' and the desired Mattermost integration settings JSON as the request body, optionally specifying a custom GitLab instance base URL if different from https://gitlab.com.

Links

Discussion