apicheats.dev Cheat sheet Raw .md
PATCH

Try PATCH /repos/{owner}/{repo}/milestones/{milestone_number} — GitHub API

GitHub playground

Update a milestone

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

4 body fields
  • title · optional · string — The title of the milestone.
  • state · optional · string — The state of the milestone. Either `open` or `closed`.
  • description · optional · string — A description of the milestone.
  • due_on · optional · string — The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.