Menu
Update Dashboards
Update Multiple Dashboards
PATCH
/dashboardsUse it in a workflow
- Add a step and choose the Directus connector.
- Pick the Update Dashboards action (under Dashboards).
- Fill in the fields below, then reference the result from later steps as
{{updateDashboards.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"data": {
"id": "a79bd1b2-beb2-49fc-8a26-0b3eec0e2697",
"name": "My dashboard",
"icon": "space_dashboard",
"note": "Test",
"date_created": "2023-01-25T19:16:49.009Z",
"user_created": "fd066644-c8e5-499d-947b-fe6c6e1a1473",
"color": null,
"panels": "22640672-eef0-4ee9-ab04-591f3afb2883"
},
"keys": [
"string"
]
}
Response
Returns 200 with an object. Read it in later steps with {{updateDashboards.response.data.<field>}}.
{
"data": [
{
"id": "a79bd1b2-beb2-49fc-8a26-0b3eec0e2697",
"name": "My dashboard",
"icon": "space_dashboard",
"note": "Test",
"date_created": "2023-01-25T19:16:49.009Z",
"user_created": "fd066644-c8e5-499d-947b-fe6c6e1a1473",
"color": null,
"panels": "22640672-eef0-4ee9-ab04-591f3afb2883"
}
],
"meta": {
"total_count": 0,
"filter_count": 0
}
}
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?