Beta

Delete a Room folder

Last updated Nov 19, 2026View as MarkdownAgent setup / MCP
POST
/v1/room-folders/{room_folder_id}/archive

Deletes a folder. contents move_up puts what's inside in the folder above; archive archives the folder, its folders and its files with it. Needs Can edit; emptying a restricted folder upward is Full access only.

Authorization

headerAuthorizationBearer <token>

A signed-in SMB user's access token. Workspace-scoped operations also require SMB-Workspace-Id.

Path Parameters

room_folder_id*string
Match^rfd_[0-7][0-9A-HJKMNP-TV-Z]{25}$

Header Parameters

SMB-Workspace-Id*string

Workspace where this operation runs. Required for user tokens and Workspace API keys.

Formatuuid
Idempotency-Key*string
Length8 <= length <= 200

Request Body

application/json
  1. body
contents*string
Value in"move_up""archive"

Response Body

Successful authorized response.

application/json
  1. response
archived*boolean
request_id*string
curl -X POST 'https://example.com/v1/room-folders/string/archive' \  -H 'SMB-Workspace-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Idempotency-Key: stringst' \  -H 'Content-Type: application/json' \  -d '{  "contents": "move_up"}'
{  "archived": true,  "request_id": "string"}