Accepts a resource type, resource ID and key/value pairs.
PUThttps://app.upfour.io/v1/metadata
scope metadata.writestablereturns 200
Body
application/jsonrequired3 fields
metadatamap of stringrequiredmax 100 keyseach value max length 4096
Custom key/value pairs (at most 100 keys; keys 1-128 characters, values up to 4096). Sent to machine-readable alert channels and API webhook subscriptions, and copied onto the incidents the resource opens.
resource_iduuidrequired
resource_typestringrequired
monitorheartbeatincidentclient
Returns
A successful request returns 200 with application/json.
Response fields 2 top-level fields
Field
Type
Description
data
ResourceMetadata[] · nullable
Each item · 8 fields
Field
Type
Description
created_at
string (date-time)
id
uuid
key
string
organization_id
uuid
resource_id
uuid
resource_type
stringone ofmonitorheartbeatincidentclient
updated_at
string (date-time)
value
string
pagination
Pagination
Pagination · 5 fields
Field
Type
Description
cursor
string · nullable
has_more
boolean
limit
integer1–250
next_cursor
string · nullable
prev_cursor
string · nullable
Errors
Only the errors this operation can return. Every error uses the same envelope.