/widgets/:id
Update an existing widget.
Endpoint
PUT https://api.timekit.io/v2/widgets/:id
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
id |
path | string | yes | ID of the widget you want to update | |
name |
body | string | Name of the widget | ||
slug |
body | string | A unique slug | ||
config |
body | string | yes | The widget config you want to save |
Request examples
json{
"name": "My Test Widget",
"slug": "my-test-widget",
"config": {
"email": "marty.mcfly:::at:::timekit.io",
"calendar": "3653d9a9-46d3-4270-8d34-34b3d871128d",
"apiToken": "xwcgiK7u7EZSpIkCSt3Oaq1eFy1fZBJA"
}
}