QamaqQamaq
PATCH

Ordner aktualisieren

/folders/{folder_id}

Aktualisiert die Eigenschaften eines Ordners.

Parameter

Pfadparameter

NameTypBeschreibung
folder_iderforderlich
string

The folder ID

Anfragekörper

application/jsonerforderlich
{
name:string

New folder name

parent_id:string| null

New parent folder ID

}

Code-Beispiele

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"}'

Antworten

200Folder updated successfully

Response Body

{
id:string
name:string
parent_id:string| null
}