GitLab API icon

GitLab API

Gitlab

Actions1062

Integrations → putApiV4ProjectsIdIntegrationsMockCi

AI-generated

Summary

Update the Mock CI integration settings for a specific GitLab project by sending a PUT request to the /api/v4/projects/{id}/integrations/mock-ci endpoint.

Inputs

  • id (required) — The ID of the GitLab project to update the Mock CI integration for, passed as a path parameter.
  • skipAuthentication — If set to true, the request will be sent without authentication; otherwise, uses the configured gitlabApi credentials.
  • baseUrl — Optional base URL for the GitLab API; defaults to https://gitlab.com.
  • method (required) — HTTP method for the request; should be PUT for this operation.
  • requestBody (required) — The body of the request containing the updated configuration for the Mock CI integration, matching the schema defined by putApiV4ProjectsIdIntegrationsMockCi.

Output shape

The updated Mock CI integration object for the specified project.

The operation returns the JSON response from the GitLab API PUT endpoint, reflecting the updated integration configuration. Authentication is required unless explicitly skipped via the skipAuthentication parameter.

Links

Discussion