cURL
curl --request PATCH \ --url https://api.example.com/api/dashboards/{id} \ --header 'Content-Type: application/json' \ --cookie better-auth.session_token= \ --data ' { "name": "<string>", "description": "<string>", "widgets": [ { "reportId": "<string>", "layout": { "x": 1, "y": 1, "w": 2, "h": 2 }, "id": "<string>", "config": {} } ] } '
{ "id": "<string>", "userId": "<string>", "name": "<string>", "widgets": [ { "id": "<string>", "reportId": "<string>", "layout": { "x": 1, "y": 1, "w": 2, "h": 2 }, "config": {} } ], "createdAt": "<string>", "updatedAt": "<string>", "organizationId": "<string>", "description": "<string>" }
Updates a dashboard’s name, description, or widget layout.
1
Show child attributes
Default Response
Was this page helpful?