GitLab API

GitlabTool

Actions1095

Integrations → putApiV4ProjectsIdIntegrationsGithub

AI-generated

Summary

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

Inputs

  • Id (required) — The unique integer ID of the GitLab project to update the GitHub integration for.
  • Request Body (required) — The JSON payload containing the GitHub integration configuration to apply to the project.
  • Skip Authentication — Option to bypass the configured authentication for this request, default is false.
  • baseUrl — Optional base URL for the GitLab instance; defaults to https://gitlab.com.

Output shape

The API response JSON object representing the updated GitHub integration for the project.

The output is a single JSON object as returned by the GitLab API's PUT /api/v4/projects/{id}/integrations/github endpoint. Ensure the request body matches the integration schema required by GitLab's API.

Examples

Example 1: Updating GitHub integration settings

Set the 'Id' parameter to the target project ID, provide the updated integration configuration in the request body, then execute to apply changes.

Links

Discussion