GitLab API icon

GitLab API

Gitlab

Actions1062

Merge_requests → deleteApiV4ProjectsIdMergeRequestsMergeRequestIid

AI-generated

Summary

Delete a merge request from a specified GitLab project by providing the project ID or URL-encoded path and the internal merge request ID.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project from which to delete the merge request.
  • merge_request_iid (required) — The internal ID of the merge request to be deleted.
  • skipAuthentication — Optionally skip authentication for the request, default is false (authentication required).
  • baseUrl — The base URL for the GitLab instance, defaults to https://gitlab.com if not set.

Output shape

no body — success/failure only

The operation does not return response data on success; it performs an HTTP DELETE request to remove the specified merge request. Error information will be returned if deletion fails.

Links

Discussion