GitLab API icon

GitLab API

Gitlab

Actions1062

Integrations → putApiV4ProjectsIdIntegrationsGithub

AI-generated

Summary

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

Inputs

  • id (required) — The ID of the GitLab project for which to update the GitHub integration settings.
  • putApiV4ProjectsIdIntegrationsGithub (required) — The request body object containing the updated configuration for the GitHub integration.
  • baseUrl — Optional base URL of the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Boolean to skip authentication; defaults to false.

Output shape

a JSON object representing the updated GitHub integration settings for the specified GitLab project.

The output matches the API response from the PUT /api/v4/projects/{id}/integrations/github endpoint. Authentication is required unless skipped. The operation uses the 'gitlabApi' credential by default.

Examples

Example 1: Update GitHub integration settings for project with ID 123

Set the 'id' path parameter to '123' and provide a JSON object with the new integration settings in the request body property 'putApiV4ProjectsIdIntegrationsGithub'. Optionally, customize the baseUrl if using a self-hosted GitLab instance.

Links

Discussion