---
title: "Make a document public or private."
method: POST
path: "/documents/{did}/acl/public"
tags: ["Document"]
---

# Make a document public or private.

`POST /documents/{did}/acl/public`

* Set `public=true` in the request body to make the document public. Set to `false` to make it private. Free users cannot make documents private. 
 * The `documentId` provided in the URL must match the one provided in the request body exactly.

## Path parameters

- `did` string, required

## Response `default`

default response

---

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