Dev GuideRecipesAPI ReferenceChangelog
Dev GuideAPI ReferenceChangelogUser GuideDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

PATCH /milestones/{id}

Experimental Updates a milestone. All fields are optional. Only provided fields will be updated. Note: If tasks array is empty, it will remove all task associations for that milestone.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier of the milestone

Body Params

Payload to update a milestone

string
length between 1 and 80

Title of the milestone. This should be between 1 and 80 characters.

string | null

Description of the milestone. If provided, this should be between 1 and 250 characters.

string

Id of the campaign to be associated with the milestone

date-time

Date and time on which the milestone will expire, in ISO 8601 UTC format

string

Hex color code for the milestone label

tasks
array of objects

List of tasks to be associated with the milestone. This can be an empty array, but in that case it will remove all task associations for that milestone.

tasks
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json