---
title: "Replace an organization's saga content-access grants per level. An omitted level is left untouched; an empty list revokes the level."
method: PUT
path: "/api/v1/content-access/{organizationId}"
tags: ["cms"]
---

# Replace an organization's saga content-access grants per level. An omitted level is left untouched; an empty list revokes the level.

`PUT /api/v1/content-access/{organizationId}`

## Path parameters

- `organizationId` string, uuid, required

## Request body

- ContentAccessUpdateRequestDTO
  - `readOnlySagaIds` string[] — All sagaIds defined by the CMS that the organization has read-only access to. Replaces the existing read-only grants, i.e. an empty list revokes all read-only access. Omit the field to leave the level untouched.
  - `readWriteSagaIds` string[] — All sagaIds defined by the CMS that the organization has write access to. Replaces the existing read-write grants, i.e. an empty list revokes all write access. Omit the field to leave the level untouched.

## Response `201`

- ContentAccessResponseDTO
  - `readOnlySagaIds` string[], required — All sagaIds the organization has read-only access to, derived from its active organization_saga_access grants
  - `readWriteSagaIds` string[], required — All sagaIds the organization has write access to, derived from its active organization_saga_access grants

---

[API](https://skmtc.net/wejam/apis/jam.md) · [All operations](https://skmtc.net/wejam/apis/jam/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wejam/jam/revisions/bd5a5f406bca/schema)
