- Print
- Dark modeLight
- PDF
Update a folder with ID
Enter REST API key. To generate a key, go to Settings → Knowledge base portal → API tokens
The ID of drive folder
Request body for updating folder with name,order,folder color and IsStarred.
{
"name": "Updated folder name",
"order": 2,
"folder_color": "#8852F5",
"is_starred": true
}
The new name for the folder being updated
The order of the folder
The color of the folder - should be in hexadecimal color code format
To update the folder as starred
Request body for updating folder with name,order,folder color and IsStarred.
{
"name": "Updated folder name",
"order": 2,
"folder_color": "#8852F5",
"is_starred": true
}
The new name for the folder being updated
The order of the folder
The color of the folder - should be in hexadecimal color code format
To update the folder as starred
Request body for updating folder with name,order,folder color and IsStarred.
{
"name": "Updated folder name",
"order": 2,
"folder_color": "#8852F5",
"is_starred": true
}
The new name for the folder being updated
The order of the folder
The color of the folder - should be in hexadecimal color code format
To update the folder as starred
Request body for updating folder with name,order,folder color and IsStarred.
{
"name": "Updated folder name",
"order": 2,
"folder_color": "#8852F5",
"is_starred": true
}
The new name for the folder being updated
The order of the folder
The color of the folder - should be in hexadecimal color code format
To update the folder as starred
Success
This response indicates the folder has been updated successfully.
{
"data": {
"media_folder_id": "d79c041c-0f94-4b04-a8b6-a14bb1995eca",
"media_folder_title": "Folder Title",
"order": 1,
"icon": null,
"updated_on": "2024-06-13T02:30:00Z",
"folder_color": null,
"is_starred": true,
"updated_by": "fdsc041c-0f94-4b04-a8b6-a14bb1995eca",
"parent_media_folder_id": null
},
"extension_data": null,
"success": true,
"errors": [],
"warnings": [],
"information": []
}
Media folder response meta data
The folder ID
The folder title
The folder order
The folder icon
The date the file was modified
The folder color
This denotes the file is starred or not
The ID of the user who uploaded the folder
The parent folder ID
Extention data for customer API response
Status indication for customer API response
Errors in the customer API response
Thids is the Extention data object
Stack trace for error response message
Description for error cause
Error code for Api response
Warnings in the customer API response
Extention Data for customer Api warning
Warning description
warning code for customer Api base response
Information passed by the customer API response
Extention data for customer Api response information
status description for customer Api response information
Bad Request
Kindly verify the folder ID and perform the task again.
{
"extension_data": null,
"success": false,
"errors": [],
"warnings": [],
"information": []
}
Extention data for customer API response
Status indication for customer API response
Errors in the customer API response
Thids is the Extention data object
Stack trace for error response message
Description for error cause
Error code for Api response
Warnings in the customer API response
Extention Data for customer Api warning
Warning description
warning code for customer Api base response
Information passed by the customer API response
Extention data for customer Api response information
status description for customer Api response information