Skip to main content

Update dashboard section

PUT /v2/dashboard/section/:id

Updates a specific section within an existing dashboard identified by its _id. This endpoint allows partial or full updates to a dashboard section, such as changing the mode, data items, or section title. It returns the full updated dashboard object with all its sections for confirmation.

Response Example

{
"_id": "dashboard-id-1",
"name": "Example Dashboard",
"role": "admin",
"roleDisplay": "Administrator",
"tenant": "tenant-id-1",
"status": "active",
"sections": [
{
"type": "product",
"_id": "section-id-1",
"mode": "overview"
},
{
"type": "product",
"data": [
{
"id": "item-id-1"
}
],
"_id": "section-id-2",
"mode": "featured",
"sectionTitle": "Top Products"
}
],
"created": "2025-10-29T14:08:06.701Z",
"updated": "2025-10-29T14:08:23.708Z",
"source": "Customer Portal",
"sourcePage": "Home"
}