GitLab API

GitlabTool

Actions1095

Merge_requests → putApiV4ProjectsIdMergeRequestsMergeRequestIidResetApprovals

AI-generated

Summary

Reset the approvals of a specific merge request in a GitLab project.

Inputs

  • id (required) — The ID of the GitLab project containing the merge request.
  • merge_request_iid (required) — The internal ID (IID) of the merge request whose approvals will be reset.
  • skipAuthentication — Optional flag to skip authentication (default is false).
  • baseUrl — Optional base URL for the GitLab instance (default is 'https://gitlab.com').

Output shape

no body

The operation corresponds to a PUT HTTP request to the API path '/api/v4/projects/{id}/merge_requests/{merge_request_iid}/reset_approvals'. The response body is not returned or documented here, so the output shape is considered to have no body. Any response status indicates success or failure of the reset action.

Links

Discussion