Deprecation
Endpoint deprecated: POST /api/v4/projects/{}/merge_requests/{}/cancel_merge_when_pipeline_succeeds
openapi:POST /api/v4/projects/{}/merge_requests/{}/cancel_merge_when_pipeline_succeeds::operation.endpoint-deprecated- Product
- GitLab REST API
- Source
- OpenAPI URL
- Change kind
- Endpoint Deprecated
- Detected
- Last updated
Deterministic evidence
Before / after
Extracted from GitLab's published contract. Shows the whole operation — a narrower excerpt was not available for this change. Open the source ↗
{
{
"deprecated": true,
"description": "Cancels an automatic merge for a merge request that has been set to merge when the pipeline succeeds. This endpoint does not return the merge request. Deprecated in GitLab 19.5. Use POST /projects/:id/merge_requests/:merge_request_iid/cancel_auto_merge instead.",
"operationId": "postApiV4ProjectsIdMergeRequestsMergeRequestIidCancelMergeWhenPipelineSucceeds",
"operationId": "postApiV4ProjectsIdMergeRequestsMergeRequestIidCancelMergeWhenPipelineSucceeds",
"parameters": [
"parameters": [
{
{
}
}
],
],
"responses": {
"responses": {
"201": {
"201": {},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/APIEntitiesMergeRequest"
}
}
}
},
"400": {},
"400": {},
"401": {},
"401": {},
"404": {},
"404": {},
"405": {},
"405": {}
"406": {}
},
},
"tags": [
"tags": [
"Merge requests"
"Merge requests"
Deadline
Deprecation timeline
openapi:POST /api/v4/projects/{}/merge_requests/{}/cancel_merge_when_pipeline_succeeds::operation.endpoint-deprecated was announced as deprecated on Oct 2, 2026, with no removal date yet.
Monitored for you
Does this change affect your integration?
Choose the operations and fields your services use. Detektu matches GitLab findings to that declared usage so your team can review the relevant evidence. No agent or repository access required.