latestOpenAPI 3.1.02026-08-1021368.3 KB

50679caad756

Milestones

Update milestone

Update a milestone. Both name and milestone_date are required.

Permissions: Requires write access to the site (manage:{site_id}).

Returns: A milestone object.

post/sites/{site_id}/milestones/{milestone_id}

Path parameters

site_idstring required
Example:CDBUGS

The ID of the site. This is the same string you use in your tracking code. Example: CDBUGS

milestone_idstring required
Example:ddc9cdff-ab83-41fa-96c6-dfb276a862e7

The id (UUID) of the milestone you wish to update.

Request body

namestring required

The name of the milestone (up to 30 characters).

milestone_datestring required

The date of the milestone in YYYY-MM-DD format.

Example request

{
  "name": "Website Redesign Launch v2",
  "milestone_date": "2024-01-20"
}

Response

Successful response