---
title: "PUT /api/tenants/stories/folders/{id}/lock-status"
method: PUT
path: "/api/tenants/stories/folders/{id}/lock-status"
tags: ["StoriesFolders"]
---

# PUT /api/tenants/stories/folders/{id}/lock-status

`PUT /api/tenants/stories/folders/{id}/lock-status`

## Request

- Base URL: `https://api.wearelearning.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wearelearning.io/api/tenants/stories/folders/{id}/lock-status`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Path parameters

- `id` string, uuid, required: A valid GUID

## Request body

- SetFolderLockStatusDto
  - `status` 'Locked' | 'Unlocked', required

## Response `200`

OK

- BasicFolderDto
  - `id` string, uuid, required: A valid GUID
  - `name` string, required
  - `lockInfo` FolderLockDto
    - `locked` boolean, required
    - `inherited` boolean, required
    - `lockedBy` string, required
    - `lockedFolderId` string, uuid, required: A valid GUID
    - `lockedFolderName` string, required
    - `canBypass` boolean, required

## Other responses

- `404`: Not Found
- `422`: Unprocessable Content

---

[API](https://skmtc.dev/wearelearning/apis/we-are-learning-api.md) - [All operations](https://skmtc.dev/wearelearning/apis/we-are-learning-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wearelearning/apis/we-are-learning-api/revisions/e2ca5265db77?raw)
