Skip to main content
PATCH
/
v0
/
widgets
/
{widget_id}
Update Widget
curl --request PATCH \
  --url https://api.sumvin.com/v0/widgets/{widget_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "size": "small"
}
'
{
  "_links": {},
  "id": "<string>",
  "type": "<string>",
  "position": 123,
  "created_at": 123,
  "updated_at": 123,
  "query_config": {},
  "display_config": {},
  "deleted_at": 123
}

Headers

x-juno-orgid
string | null

Tenant org ID for multi-tenant auth

x-sumvin-token
string | null
x-juno-jwt
string | null

Path Parameters

widget_id
string
required

Body

application/json
title
string | null

Widget display title

Maximum string length: 255
size
enum<string> | null

Widget size for dashboard layout

Available options:
small,
medium,
large

Response

Widget updated successfully

HAL-style hypermedia links for navigation and available actions.

id
string
required
type
string
required
position
integer
required
created_at
integer
required
updated_at
integer
required
query_config
Query Config · object
display_config
Display Config · object
deleted_at
integer | null