curl --request PATCH \
--url https://api.dittowords.com/v2/componentFolders \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"updates": [
{
"developerId": "text-fields",
"name": "Inputs — Text Fields"
}
]
}
'{
"success": true
}{
"message": "Folder id not found"
}{
"message": "already exists in workspace"
}Component Folders
Update component folders
Updates a set of component folders.
Each folder is identified by its developer ID. Only provided fields are modified — omitted fields remain unchanged.
PATCH
/
componentFolders
curl --request PATCH \
--url https://api.dittowords.com/v2/componentFolders \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"updates": [
{
"developerId": "text-fields",
"name": "Inputs — Text Fields"
}
]
}
'{
"success": true
}{
"message": "Folder id not found"
}{
"message": "already exists in workspace"
}