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}