GitLab API

GitlabTool

Actions1095

Integrations → putApiV4ProjectsIdIntegrationsHarbor

AI-generated

Summary

Update the Harbor integration settings for a specified GitLab project by sending a PUT request to the corresponding GitLab API endpoint.

Inputs

  • Id - The project ID identifying which project's Harbor integration to update. Required. (required) — Path parameter specifying the unique identifier of the GitLab project.
  • Request Body - The Harbor integration configuration object to update. Required. (required) — JSON body containing the Harbor integration settings as defined by the GitLab API schema.
  • Skip Authentication - Optional flag to bypass authentication (default false). — Set to true to skip using the GitLab API credentials for authentication.
  • Base URL - Optional base URL of the GitLab instance (default https://gitlab\.com\)\. — Overrides the default GitLab server URL if needed.

Output shape

a single updated integration object representing the Harbor integration configuration for the project, returned in the API response body

The response shape conforms to the GitLab API schema for the Harbor integration update. Authentication is required unless explicitly skipped. Errors or failures are returned according to the GitLab API's standard error payloads.

Examples

Example 1: Update Harbor integration for project ID 123 with new settings

Set path parameter 'id' to '123', provide a correctly structured Harbor integration object in request body, and run operation to apply changes.

Links

Discussion