GitLab API icon

GitLab API

Gitlab

Actions1062

Integrations → putApiV4GroupsIdIntegrationsMattermostSlashCommands

AI-generated

Summary

Update a Mattermost slash command integration for a specific GitLab group using the group's ID and integration configuration details.

Inputs

  • id (required) — The ID of the GitLab group for which to update the Mattermost slash commands integration.
  • putApiV4GroupsIdIntegrationsMattermostSlashCommands (required) — The request body containing the settings and configuration for the Mattermost slash commands integration to update.
  • skipAuthentication — Optionally skip authentication for this request; defaults to false, requiring authentication.

Output shape

a single JSON object representing the updated Mattermost slash commands integration for the specified group.

The API path used is /api/v4/groups/{id}/integrations/mattermost-slash-commands via HTTP PUT. The operation requires authentication unless skipAuthentication is set to true. The request body must conform to the GitLab Mattermost slash commands integration schema.

Examples

Example 1: Update Mattermost slash commands integration for group 123

Provide group ID as '123' in path parameters and the Mattermost integration settings in the request body. Executes PUT request to update the integration.

Links

Discussion