Delete a Room folder
POST
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.
header
AuthorizationBearer <token>A signed-in SMB user's access token. Workspace-scoped operations also require SMB-Workspace-Id.
room_folder_id*stringMatch
^rfd_[0-7][0-9A-HJKMNP-TV-Z]{25}$SMB-Workspace-Id*stringWorkspace where this operation runs. Required for user tokens and Workspace API keys.
Format
uuidIdempotency-Key*stringLength
8 <= length <= 200application/json- body
contents*stringValue in
"move_up""archive"Successful authorized response.
application/json- response
archived*booleanrequest_id*stringcurl -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"}