GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → putApiV4ProjectsIdRepositorySubmodulesSubmodule

AI-generated

Summary

Update a specific submodule within a GitLab project's repository by specifying the project ID and submodule path along with the updated submodule details in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the project containing the submodule.
  • submodule (required) — The URL-encoded full path to the submodule to update.
  • putApiV4ProjectsIdRepositorySubmodulesSubmodule (required) — The updated submodule properties sent in the request body.

Output shape

a single JSON object representing the updated submodule information returned by the GitLab API.

The response shape strictly follows the GitLab API's update submodule endpoint. Authentication is required unless 'Skip Authentication' is enabled, in which case a custom base URL may be used. The HTTP PUT method is employed to perform the update.

Links

Discussion