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 Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters milestone_id string required
Response 200▼
application/json Milestone successfully updated.
message string
Example: "Milestone updated successfully"
type string
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"
}