Skip to content

Reset the estimated time for a merge request

POST
/api/v4/projects/{id}/merge_requests/{merge_request_iid}/reset_time_estimate

Resets the estimated time for a specified merge request to 0 seconds.

id
required
One of:
string

The ID or URL-encoded path of the project.

merge_request_iid
required
integer

The internal ID of the merge_request.

Created

Media type application/json
object
time_estimate
integer
total_time_spent
integer
human_time_estimate
string
human_total_time_spent
string
Example
{
"time_estimate": 12600,
"total_time_spent": 3600,
"human_time_estimate": "3h 30m",
"human_total_time_spent": "1h"
}

Bad Request

Unauthorized

Not found