---
title: "Set Flow Read-Only"
method: PUT
path: "/flows/{flowId}/read_only"
tags: ["Flows"]
---

# Set Flow Read-Only

`PUT /flows/{flowId}/read_only`

Set the read-only property. If set to 'true', service implementations SHOULD reject client requests to update Flow metadata (other than the read_only property), and Flow Segments. Service implementations should also reject requests to the [`/flows/{flowId}/storage`](#/operations/POST_flows-flowId-storage) endpoint for the Flow, and requests to delete the Flow.

## Request body

- boolean

## Response `204`

No content. The read_only property has been set to the given value.

## Other responses

- `400` — Bad request. Invalid Flow read_only value. Value must be boolean.
- `403` — Forbidden. You do not have permission to modify this Flow.
- `404` — The requested Flow does not exist.

---

[API](https://skmtc.net/aws-samples/apis/time-addressable-media-store.md) · [All operations](https://skmtc.net/aws-samples/apis/time-addressable-media-store/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/time-addressable-media-store/versions/c442607d1b16/schema)
