---
title: "Update Source Visibility"
method: PATCH
path: "/api/v1/sources/{source_uuid}/visibility"
tags: ["sources"]
---

# Update Source Visibility

`PATCH /api/v1/sources/{source_uuid}/visibility`

## Path parameters

- `source_uuid` string, uuid, required

## Query parameters

- `space_uuid` string, uuid
- `space_id` string, uuid

## Request body

- UpdateSourceVisibilityRequest
  - `visibility` 'private' | 'org', required

## Response `200`

Updated visibility

- SourceVisibilityResponse
  - `id` string, uuid, required
  - `visibility` 'private' | 'org', required
  - `memories_updated` integer, required
  - `edges_updated` integer, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found

## Changes

- **2026-08-25** `55772030ddd3` — 12 warning
  - removed the optional property `code` from the response with the `400` status
  - removed the optional property `code` from the response with the `401` status
  - removed the optional property `code` from the response with the `403` status
  - removed the optional property `code` from the response with the `404` status
  - …8 more
- **2026-08-19** `b38f8e603649` — 12 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `403` status
  - added the optional property `code` to the response with the `404` status
  - …8 more

[Change history](https://skmtc.dev/crosmos/apis/crosmos-api/changes/api/v1/sources/:source_uuid/visibility/patch.md)

---

[API](https://skmtc.dev/crosmos/apis/crosmos-api.md) · [All operations](https://skmtc.dev/crosmos/apis/crosmos-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/crosmos/crosmos-api/revisions/55772030ddd3/schema)
