---
title: "PUT /projects/{project_id}/milestones/{milestone_id}"
method: PUT
path: "/projects/{project_id}/milestones/{milestone_id}"
tags: ["project"]
---

# PUT /projects/{project_id}/milestones/{milestone_id}

`PUT /projects/{project_id}/milestones/{milestone_id}`

## Request

- Base URL: `https://api.ora.pm`
- URL: `https://api.ora.pm/projects/{project_id}/milestones/{milestone_id}`
- Auth: OAuth 2
  - Authorization code: `https://app.ora.pm/authorize`
  - Token URL: `https://api.ora.pm/oauth/token` scopes: `read`, `write`

## Request body

- UpdateMilestone
  - `title` string: Title of the milestone.
  - `color` string: Color of the milestone.
  - `complete` boolean: If true the milestone is completed, if false - not completed.
  - `position` integer: Position of the milestone.

## Response `200`

OK

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

[API](https://skmtc.dev/ora/apis/ora-api.md) - [All operations](https://skmtc.dev/ora/apis/ora-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ora/apis/ora-api/revisions/983b9e0b0dda?raw)
