Skip to content
BleemeoBleemeo

Update a widget annotation

PUT
/v1/widgetannotation/{id}/
curl --request PUT \
--url https://example.com/v1/widgetannotation/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "agent": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "description": "example", "end_time": "2026-04-15T12:00:00Z", "outage": true, "start_time": "2026-04-15T12:00:00Z", "title": "example", "widget": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'

Replace all fields of an existing widget annotation.

id
required
string format: uuid

A UUID string identifying this widget annotation.

A ModelSerializer that takes an additional fields argument that controls which fields should be displayed.

object
account
required
string format: uuid
agent
string format: uuid
nullable
description
string
end_time
required
string format: date-time
id
required
string format: uuid
outage
boolean
start_time
required
string format: date-time
title
required
string
<= 100 characters
widget
required
string format: uuid
Examplegenerated
{
"agent": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"description": "example",
"end_time": "2026-04-15T12:00:00Z",
"outage": true,
"start_time": "2026-04-15T12:00:00Z",
"title": "example",
"widget": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}
Media typeapplication/json

A ModelSerializer that takes an additional fields argument that controls which fields should be displayed.

object
account
required
string format: uuid
agent
string format: uuid
nullable
description
string
end_time
required
string format: date-time
id
required
string format: uuid
outage
boolean
start_time
required
string format: date-time
title
required
string
<= 100 characters
widget
required
string format: uuid
Examplegenerated
{
"agent": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"description": "example",
"end_time": "2026-04-15T12:00:00Z",
"outage": true,
"start_time": "2026-04-15T12:00:00Z",
"title": "example",
"widget": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}