GitLab API icon

GitLab API

Gitlab

Actions1062

Integrations → putApiV4ProjectsIdServicesDroneCi

AI-generated

Summary

Update the Drone CI service integration settings for a specific GitLab project by sending a PUT request to the GitLab API at /api/v4/projects/{id}/services/drone-ci.

Inputs

  • id (required) — The ID of the GitLab project to update the Drone CI service integration for.
  • request body (required) — The configuration object specifying the settings for the Drone CI service integration to be applied.
  • baseUrl — The base URL of the GitLab instance, defaulting to https://gitlab.com.
  • skipAuthentication — Option to skip authentication when making the API request (default is false).

Output shape

a single JSON object representing the updated Drone CI service integration settings for the specified project

The operation returns the full service configuration as JSON after the update. The input includes a required project ID path parameter and a required request body matching the Drone CI service configuration schema. Authentication is used by default unless skipped.

Examples

Example 1: Update Drone CI integration for a project

Set 'id' to the target project ID and provide the desired Drone CI service settings in the request body to update the service for that project.

Links

Discussion