curl --request PUT \
--url http://0.0.0.0:3000/v1/lovelace \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "default",
"config": {
"views": [
{
"title": "Início",
"cards": []
}
]
}
}
'{
"id": 1,
"name": "default",
"type": "lovelace",
"title": "Início",
"icon": "mdi:home",
"url": null,
"config": {
"views": []
},
"created_at": "2026-03-17T10:00:00Z",
"updated_at": "2026-03-17T10:00:00Z"
}curl --request PUT \
--url http://0.0.0.0:3000/v1/lovelace \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "default",
"config": {
"views": [
{
"title": "Início",
"cards": []
}
]
}
}
'{
"id": 1,
"name": "default",
"type": "lovelace",
"title": "Início",
"icon": "mdi:home",
"url": null,
"config": {
"views": []
},
"created_at": "2026-03-17T10:00:00Z",
"updated_at": "2026-03-17T10:00:00Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID da organização para contexto (opcional). Quando presente, filtra recursos da org.