Dashboard - PUT Update Dashboard
Put
{{url_iot_backend}}/ext/dashboards/:id
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
Parameter
Field | Type | Description |
---|---|---|
dashboard_name | String |
The name of your dashboard |
is_public | Integer |
Won't you make your dashboard accessible for the public: "1", "0" |
description | String |
The description of your dashboard |
is_home | Integer |
Won't you set your dashboard as the home display of your tenant?: "1", or "0" |
{
"dashboard_name": "test dashboard postman update",
"is_public": 1,
"description": "test dashboard",
"is_home": 0
}
{
"message": "dashboard updated",
"data": {
"id": 210
},
"code": 200
}
{
"message": "Invalid Message",
"code": 400,
"errors": [
{
"field": "dashboard_name",
"message": "The dashboard name field is required.."
},
{
"field": "is_public",
"message": "The selected is public is invalid."
}
]
}