GitLab API

GitlabTool

Actions1095

Integrations → putApiV4ProjectsIdServicesGitGuardian

AI-generated

Summary

Update the Git Guardian service integration for a specified GitLab project by sending a PUT request to the GitLab API endpoint /api/v4/projects/{id}/services/git-guardian.

Inputs

  • id (required) — The project ID of the GitLab project to update the Git Guardian integration for.
  • Request Body (required) — The configuration object for the Git Guardian integration service to apply to the specified project.
  • Skip Authentication — Option to skip authentication; defaults to false, so authentication via GitLab API credentials is used by default.
  • baseUrl — The base URL of the GitLab instance, defaults to https://gitlab.com.

Output shape

a JSON object representing the updated Git Guardian integration service configuration for the specified project.

Requires the project ID path parameter and the request body containing the integration settings. The operation returns the updated service object from the GitLab API. Authentication via GitLab API credentials is required unless 'Skip Authentication' is set to true.

Examples

Example 1: Update Git Guardian integration for project 123

Set 'Id' to '123' and provide the integration settings in the request body to update Git Guardian service settings via the GitLab API.

Links

Discussion