Update Test Folder

Rename or reparent a test folder. Cycles are rejected.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Path parameters

idstringRequired

Request

This endpoint expects an object.
namestringOptional
parent_folder_idstringOptional

Prefixed wire identifier (folder_<26 char Crockford base32>) of the folder to reparent this folder under.

clear_parent_folder_idbooleanOptional

When true, reparents this folder to root (clears parent_folder_id). Wins over parent_folder_id when both are sent.

Response

Updated folder.
idstring

Prefixed wire identifier (folder_<26 char Crockford base32>). URL paths accept only this prefixed form; legacy UUID path parameters are rejected with 404.

namestring
created_atdatetime
updated_atdatetime
parent_folder_idstring or null

When set, prefixed wire identifier (folder_<26 char Crockford base32>) of the parent folder. Null means root.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error