QamaqQamaq
PATCH

フォルダーを更新

/folders/{folder_id}

フォルダーのプロパティを更新します。

パラメーター

パスパラメーター

名前タイプ説明
folder_id必須
string

The folder ID

リクエストボディ

application/json必須
{
name:string

New folder name

parent_id:string| null

New 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:string
name:string
parent_id:string| null
}