For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update Widget

This method allows updating the information of the user's widget.

Request

name
value

url

https://dev.pulsoid.net/api/v1/widgets/{widget.id}

method

POST

scope

widgets:update

Body Param Accepts JSON object with the following field

name
value

configuration

Json representing new widget's configuration

Headers Parameters explained:

name
value
description

Authorization

Bearer {auth token}

Response

The response is an updated widget.

Curl Request Example

curl --request POST \
  --url https://pulsoid.net/api/v1/widgets/40b0131e-fe68-4020-90a0-1a5eb78fd9b4 \
  --header 'Authorization: Bearer 8c4da3ce-7ed7-4a19-a1f1-058498661e45' \
  --header 'Content-Type: application/json' \
  --data '{
  "configuration" : {
    "font": "Comics Sans"
  }
}'

Response Example

Last updated