Skip to content

Delete context commits from a merge request

DELETE
/api/v4/projects/{id}/merge_requests/{merge_request_iid}/context_commits

Deletes specified context commits from a merge request.

id
required
One of:
string

The ID or URL-encoded path of the project.

merge_request_iid
required
integer

The IID of a merge request

commits
required
Array<string>
nullable

The context commits’ SHA.

No Content

Bad request

Unauthorized

Not found