GitLab API icon

GitLab API

Gitlab

Actions1062

Integrations → putApiV4ProjectsIdIntegrationsDiscord

AI-generated

Summary

Update the Discord integration settings for a specified GitLab project by sending a PUT request to the GitLab API endpoint /api/v4/projects/{id}/integrations/discord.

Inputs

  • id (required) — The ID of the GitLab project to update the Discord integration for.
  • putApiV4ProjectsIdIntegrationsDiscord (required) — The request body containing the new Discord integration settings, matching the schema defined by the GitLab API for this endpoint.
  • baseUrl — The base URL of the GitLab instance, defaulting to https://gitlab.com.
  • skipAuthentication — Whether to skip authentication; by default authentication with GitLab API credentials is required.

Output shape

a JSON object representing the updated Discord integration configuration for the specified project.

The returned data shape corresponds to the response of the PUT /api/v4/projects/{id}/integrations/discord GitLab API endpoint. The operation requires the project ID path parameter and a request body matching the Discord integration update schema. Authentication is required unless explicitly skipped.

Links

Discussion