Update a Milestone

PUT/api/milestones/{id}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
project_id String Mandatory project id.
name String Mandatory Milestone Name.
due_date Date Mandatory Milestone Due date.
description String optional Optional Milestone Description.
description_visible_to_customer String optional Show description to customer.
milestone_order String optional Optional Milestone Order.
curl -X PUT "https://yoursite.com/api/milestones/123" \
  -H "authtoken: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "project_id": "...", "name": "...", "due_date": "..." }'

Success-Response:

HTTP/1.1 200 OK
{
  "status": true,
  "message": "Milestone Update Successful."
}

Error-Response:

HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Milestone Update Fail."
}
MethodPUT
Path/api/milestones/{id}
GroupMilestones
Sincev0.0.0
Defined inmodules/api/controllers/Milestones.php