---
title: "PUT /v1/workflows/{id}/visibility"
method: PUT
path: "/v1/workflows/{id}/visibility"
---

# PUT /v1/workflows/{id}/visibility

`PUT /v1/workflows/{id}/visibility`

Update workflow visibility level

## Path parameters

- `id` string, required

## Request body

- union
  - object
  - UpdateVisibilityParams
    - `visibility` 'private' | 'org' | 'public_view' | 'public_execute', required

## Response `200`

OK

- UpdateVisibilitySuccessResponse
  - `code` integer
  - `data` UpdateVisibilityData
    - `id` string
    - `visibility` 'private' | 'org' | 'public_view' | 'public_execute'
  - `message` string
  - `requestId` string

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found

---

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