---
title: "Update a time period"
method: PUT
path: "/okrs/time_periods/{id}"
tags: ["time_periods"]
---

# Update a time period

`PUT /okrs/time_periods/{id}`

Updates an existing time period with the specified attributes.

Time periods help you organize your OKRs into different blocks of time.
Optionally, you can update the parent-child relationship between time periods
to form a hierarchy.

## Path parameters

- `id` string, required

## Request body

- object
  - `time_period` object, required
    - `name` string — Name of the time period
    - `start_date` string — Start date of the time period (YYYY-MM-DD)
    - `end_date` string — End date of the time period (YYYY-MM-DD)
    - `parent_uuid` string — UUID of parent time period for hierarchical periods

## Other responses

- `400` — Bad Request - Invalid parameters or malformed request
- `401` — Unauthorized - Invalid or missing authentication
- `403` — Forbidden - User lacks permission to access this resource
- `404` — Not Found - Resource does not exist
- `422` — Unprocessable Entity - Invalid request parameters or validation errors
- `429` — Too Many Requests - Rate limit exceeded
- `500` — Internal Server Error - Unexpected server error

---

[API](https://skmtc.net/rhythms/apis/rhythms-params-in-body.md) · [All operations](https://skmtc.net/rhythms/apis/rhythms-params-in-body/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rhythms/rhythms-params-in-body/revisions/a67e54becfe9/schema)
