Skip to main content
PUT
Rename a folder
Requires Editor, Admin, or Owner. Names are trimmed and must contain 1–100 characters. A duplicate name returns 409; a folder outside the workspace returns 404. Agents retain their folder assignment.

Authorizations

Authorization
string
header
required

Bandwidth Labs OAuth access token. Uses the user's selected workspace; the workspace header is not required. Do not also send an API key. Bearer-only operations may additionally require the Labs super_user role.

Headers

X-VOAI-ORGANIZATION-ID
string | null

Required with X-BW-LABS-AGENTS-API-KEY: the positive local workspace ID to access. The key owner must be a current member. Missing or invalid IDs return 400; non-member workspaces return 403. Not required for bearer authentication, which uses the user's selected workspace.

Path Parameters

folder_id
integer
required

Body

application/json
name
string
required
Required string length: 1 - 100

Response

Successful Response

created_at
string<date-time>
required
id
integer
required
name
string
required