PATCH
更新文件夹
/folders/{folder_id}更新文件夹属性。
参数
路径参数
| 名称 | 类型 | 描述 |
|---|---|---|
folder_id必填 | string | The folder ID |
请求体
application/json必填
{
name:stringNew folder name
parent_id:string| nullNew parent folder ID
}
代码示例
curl -X PATCH "https://api.qamaq.io/api/v1/folders/{folder_id}" \
-H "Authorization: Bearer qmq_your_api_key" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'响应
200Folder updated successfully
Response Body
{
id:stringname:stringparent_id:string| null}