Headers
Bearer $TOKEN
application/json
Body parameters
Resource to update metadata for
Type of resource to update metadata for. Accepted values: Monitor, Heartbeat, Incident, WebhookIntegration, EmailIntegration, IncomingWebhook, or AmazonSnsIntegration
Metadata key
Array of metadata values. Each value is a plain string or an object described below. All values under one key must be of the same type. Existing values for the given key will be replaced unless mode is merge. Send an empty array to remove the key.
Type of the value. Valid options: String, User, Team, Policy, Schedule, Endpoint, Source, SlackIntegration, LinearIntegration, JiraIntegration, MicrosoftTeamsWebhook, ZapierWebhook, NativeWebhook, or PagerDutyWebhook. Endpoint references a monitor and Schedule an on-call calendar. Defaults to String when only value is sent.
The text of the value. Required when type is String.
ID of the referenced item when type is not String. Send item_id, name or email to identify the item.
Name of the referenced item, as an alternative to item_id. Endpoint, SlackIntegration, and ZapierWebhook items are referenced by item_id only, and users by item_id or email.
E-mail of the referenced user when type is User, as an alternative to item_id.
How to apply the provided values. Accepted values: replace (default) replaces all existing values for the given key, merge adds the provided values to the existing ones.