projectMilestoneTemplates

Updates a milestone template for the template.

Changed on

Updates a milestone template for the template. The submitted dates and status replace the existing values.

<Check title="Required Permissions" icon="key">The user must be an admin or have project-manage-config:write permissions.</Check>

put/projecttemplates/{projectTemplateId}/milestones/{milestoneId}

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/projecttemplates/{projectTemplateId}/milestones/{milestoneId}
  • Auth: HTTP bearer

Path parameters

projectTemplateIdstring uuid required

The id of the project template.

milestoneIdstring uuid required

The id of the milestone.

Request body

namestring nullable

The name of the milestone.

colorstring nullable

The color of the milestone.

relativeDueDateinteger

Relative amount of days the milestone is due after the project creation date when a project gets created with the corresponding project template.

Response

OK

namestring nullable

The name of the milestone.

colorstring nullable

The color of the milestone.

relativeDueDateinteger

Relative amount of days the milestone is due after the project creation date when a project gets created with the corresponding project template.

idstring uuid
projectTemplateIdstring uuid
createdOnstring date-time

The date this entity was created.

createdBystring uuid

The id of the user who created this entity.

updatedOnstring date-time

The date this entity was last modified.

updatedBystring uuid

The id of the user who last modified this entity.

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id PutProjectTemplateMilestoneByProjectTemplateIdAndMilestoneId removed and replaced with projectMilestoneTemplates_PutProjectTemplateMilestoneByProjectTemplateIdAndMilestoneId