GitLab API icon

GitLab API

Gitlab

Actions1062

Merge_requests → postApiV4ProjectsIdMergeRequestsMergeRequestIidResetSpentTime

AI-generated

Summary

Reset the spent time logged on a specific merge request for a given project in GitLab.

Inputs

  • Id (required) — The ID or URL-encoded path of the GitLab project containing the merge request.
  • Merge_request_iid (required) — The internal ID of the merge request whose spent time you want to reset.
  • Skip Authentication — Optionally skip authentication (default is false).
  • baseUrl — The base URL of the GitLab instance (default is https://gitlab.com).

Output shape

no body — success/failure only

The operation performs a POST request to reset the spent time but does not return response body data. Errors return failure status and details.

Examples

Example 1: Reset spent time for merge request IID 42 in project with ID 'my-group/my-project'.

Set Id to 'my-group/my-project' and Merge_request_iid to 42.

Links

Discussion