---
title: "Set the entry file"
method: PUT
path: "/v1/workspaces/{workspaceId}/context"
tags: ["Workspaces"]
---

# Set the entry file

`PUT /v1/workspaces/{workspaceId}/context`

## Request

- Base URL: `https://shareout.site`
- URL: `https://shareout.site/v1/workspaces/{workspaceId}/context`
- Auth: HTTP bearer

Owner/admin. Also accepts PATCH. `null` or empty resets to `index.md`.

## Request body

- object
  - `entry` string, nullable

## Response `200`

`{ entry }`

## Other responses

- `400`: Invalid request
- `403`: Access denied

## Changes

- **2026-10-13** `ed6fa61bd690`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/shareout/apis/shareout-rest-api/changes/v1/workspaces/:workspaceId/context/put.md)

---

[API](https://skmtc.dev/shareout/apis/shareout-rest-api.md) - [All operations](https://skmtc.dev/shareout/apis/shareout-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shareout/apis/shareout-rest-api/revisions/1e3f7fd34f6d?raw)
