Milestone›Update Milestone
Milestone
Update Milestone
Update details of an existing milestone.
curl --request PUT \
--url "https://test-manager-api.lambdatest.com/api/v1/milestone/{milestone_id}" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"title": "Sanity milestone",
"description": "",
"test_run_id": [
"01JGAXH73Q0D2WRSZPXTWZVRTP",
"01JGAZ48DPJS4KGB7R0KF7C0SS"
],
"tags": [],
"start_at": "2024-12-31T00:00:00.000Z",
"end_at": "2025-01-08T00:00:00.000Z",
"attachments": [],
"project_id": "01JG9PVWC7MJ9YKR92TMDTVYJC"
}'
{
"message": "Milestone updated successfully",
"type": "Success"
}
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
milestone_idstringrequired
Response
application/jsonMilestone successfully updated.
messagestring
Example: "Milestone updated successfully"
typestring
Example: "Success"
curl --request PUT \
--url "https://test-manager-api.lambdatest.com/api/v1/milestone/{milestone_id}" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"title": "Sanity milestone",
"description": "",
"test_run_id": [
"01JGAXH73Q0D2WRSZPXTWZVRTP",
"01JGAZ48DPJS4KGB7R0KF7C0SS"
],
"tags": [],
"start_at": "2024-12-31T00:00:00.000Z",
"end_at": "2025-01-08T00:00:00.000Z",
"attachments": [],
"project_id": "01JG9PVWC7MJ9YKR92TMDTVYJC"
}'
{
"message": "Milestone updated successfully",
"type": "Success"
}