GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → postApiV4ProjectsIdMergeRequestsMergeRequestIidUnapprove

AI-generated

Summary

Unapprove a specific merge request in a project by providing the project ID and merge request IID, using a POST request to the corresponding GitLab API endpoint.

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 to be unapproved.
  • Skip Authentication — Option to skip authentication; defaults to false, meaning authentication is used.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.

Output shape

an object representing the API response from GitLab after unapproving the merge request

The output shape depends on the GitLab API response for this endpoint. Authentication is required unless 'Skip Authentication' is enabled. The endpoint is POST /api/v4/projects/{id}/merge_requests/{merge_request_iid}/unapprove.

Links

Discussion