---
title: "Change an artifact's public link"
method: PUT
path: "/v1/mcp-apps/{appId}/public-sharing"
tags: ["Artifacts"]
---

# Change an artifact's public link

`PUT /v1/mcp-apps/{appId}/public-sharing`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/mcp-apps/{appId}/public-sharing`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Requires manager access to the artifact. Only artifacts with no bound tools and no saved data can be public; blockedBy names what prevents it. A public link allows anyone to open the artifact without signing in and does not grant access to the Plugin or connected data.

## Path parameters

- `appId` string, required

## Request body

- McpAppPublicSharingChange
  - `public` boolean, required
  - `expectedRevisionId` string, required

## Response `200`

Current public link settings.

- McpAppPublicSharingResponse
  - `revisionId` string, required
  - `publicUrl` string, uri, nullable, required
  - `canPublish` boolean, required
  - `blockedBy` 'tools' | 'storage', nullable, required

## Other responses

- `400`: Invalid artifact or request.
- `401`: The caller must be signed in.
- `403`: The caller must manage this artifact.
- `404`: The artifact is unavailable.
- `409`: The artifact has changed, uses tools, or saves data.
- `422`: The revision failed its integrity check.

## Changes

- **2026-11-27** `3d0c262d561a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/mcp-apps/:appId/public-sharing/put.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
