Update a Folder
Testing
PATCH
/spaces/{spaceId}/folders/{folderId}
columns
property respects the following format:{
"name": "Column name",
"visible": true
}
"Name", "Licenses", "Categories", "Type", "Status", "Language", "Visibility", "Teachers", "Attendants", "Time", "Payment Model", "Availability", "Total Price", "Subscription Fee", "Remaining amount", "Payment Frequency", "Numbers of Billings", "Single Billing Amount"
spaceId
: Space Id where the folder currently residesfolderId
: Folder or subfolder Id to be updatedid
: Folder or subfolder Id to be updatedname
: Folder nameparent
(optional): id from its parent folder, when it isn't a root foldercolumns
: array of column
object which contain both name
and visible
propertyfolder
object with all their dataRequest Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.aladia.io/v2/spaces/66309949fb6c973f4ecaebc5/folders/66309949fb6c973f4ecaebc9' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Crystal and Ruby courses",
"spaceId": "661666becf024c47c39a2170",
"parent": "661666becf024c47c39a2183",
"columns": []
}'
Response Response Example
200 - Success
{
"id": "661666becf024c47c39a2182",
"name": "Crystal and Ruby courses",
"spaceId": "661666becf024c47c39a2170",
"parent": "661666becf024c47c39a2183",
"items": 0,
"columns": [],
"courses": []
}
Request
Path Params
spaceId
stringÂ
required
Example:
66309949fb6c973f4ecaebc5
folderId
stringÂ
required
Example:
66309949fb6c973f4ecaebc9
Header Params
apikey
stringÂ
optional
Example:
{{apikey}}
Body Params application/json
Responses
Modified at 2025-04-08 10:37:10