Skip to main content
PUT
/
v0
/
widgets
/
reorder
Reorder Widgets
curl --request PUT \
  --url https://api.sumvin.com/v0/widgets/reorder \
  --header 'Content-Type: application/json' \
  --data '
{
  "order": [
    "<string>"
  ]
}
'
{
  "_links": {},
  "widgets": [
    {
      "id": "<string>",
      "type": "<string>",
      "position": 123,
      "created_at": 123,
      "updated_at": 123,
      "query_config": {},
      "display_config": {},
      "deleted_at": 123
    }
  ],
  "reordered_count": 123
}

Headers

x-juno-orgid
string | null

Tenant org ID for multi-tenant auth

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

Body

application/json
order
string[]
required

Ordered list of widget IDs defining new positions

Response

Widgets reordered successfully

HAL-style hypermedia links for navigation and available actions.

widgets
WidgetData · object[]
required
reordered_count
integer
required