cURL
curl --request PUT \
--url https://{tenant}.chronosphere.io/api/v1/config/notifiers/{slug} \
--header 'API-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{
"notifier": {
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"discard": true,
"email": {
"html": "<string>",
"text": "<string>",
"to": "<string>"
},
"ops_genie": {
"api_key": "<string>",
"api_url": "https://api.opsgenie.com/",
"description": "<string>",
"details": {},
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"message": "<string>",
"note": "<string>",
"priority": "<string>",
"responders": [
{
"id": "<string>",
"name": "<string>",
"username": "<string>"
}
],
"source": "<string>",
"tags": "<string>"
},
"pagerduty": {
"class": "<string>",
"client": "<string>",
"client_url": "<string>",
"component": "<string>",
"description": "<string>",
"details": {},
"group": "<string>",
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"images": [
{
"alt": "<string>",
"href": "<string>",
"src": "<string>"
}
],
"links": [
{
"href": "<string>",
"text": "<string>"
}
],
"routing_key": "<string>",
"service_key": "<string>",
"severity": "<string>",
"url": "<string>"
},
"skip_resolved": true,
"slack": {
"actions": [
{
"confirm_field": {
"dismiss_text": "<string>",
"ok_text": "<string>",
"text": "<string>",
"title": "<string>"
},
"name": "<string>",
"style": "<string>",
"text": "<string>",
"type": "<string>",
"url": "<string>",
"value": "<string>"
}
],
"api_url": "<string>",
"callback_id": "<string>",
"channel": "<string>",
"color": "<string>",
"fallback": "<string>",
"fields": [
{
"short": true,
"title": "<string>",
"value": "<string>"
}
],
"footer": "<string>",
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"icon_emoji": "<string>",
"icon_url": "<string>",
"image_url": "<string>",
"link_names": true,
"mrkdwn_in": [
"<string>"
],
"pretext": "<string>",
"short_fields": true,
"text": "<string>",
"thumb_url": "<string>",
"title": "<string>",
"title_link": "<string>",
"username": "<string>"
},
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"victor_ops": {
"api_key": "<string>",
"api_url": "<string>",
"custom_fields": {},
"entity_display_name": "<string>",
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"message_type": "<string>",
"monitoring_tool": "<string>",
"routing_key": "<string>",
"state_message": "<string>"
},
"webhook": {
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"url": "<string>"
}
}
}PUT
/
api
/
v1
/
config
/
notifiers
/
{slug}
cURL
curl --request PUT \
--url https://{tenant}.chronosphere.io/api/v1/config/notifiers/{slug} \
--header 'API-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{
"notifier": {
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"discard": true,
"email": {
"html": "<string>",
"text": "<string>",
"to": "<string>"
},
"ops_genie": {
"api_key": "<string>",
"api_url": "https://api.opsgenie.com/",
"description": "<string>",
"details": {},
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"message": "<string>",
"note": "<string>",
"priority": "<string>",
"responders": [
{
"id": "<string>",
"name": "<string>",
"username": "<string>"
}
],
"source": "<string>",
"tags": "<string>"
},
"pagerduty": {
"class": "<string>",
"client": "<string>",
"client_url": "<string>",
"component": "<string>",
"description": "<string>",
"details": {},
"group": "<string>",
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"images": [
{
"alt": "<string>",
"href": "<string>",
"src": "<string>"
}
],
"links": [
{
"href": "<string>",
"text": "<string>"
}
],
"routing_key": "<string>",
"service_key": "<string>",
"severity": "<string>",
"url": "<string>"
},
"skip_resolved": true,
"slack": {
"actions": [
{
"confirm_field": {
"dismiss_text": "<string>",
"ok_text": "<string>",
"text": "<string>",
"title": "<string>"
},
"name": "<string>",
"style": "<string>",
"text": "<string>",
"type": "<string>",
"url": "<string>",
"value": "<string>"
}
],
"api_url": "<string>",
"callback_id": "<string>",
"channel": "<string>",
"color": "<string>",
"fallback": "<string>",
"fields": [
{
"short": true,
"title": "<string>",
"value": "<string>"
}
],
"footer": "<string>",
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"icon_emoji": "<string>",
"icon_url": "<string>",
"image_url": "<string>",
"link_names": true,
"mrkdwn_in": [
"<string>"
],
"pretext": "<string>",
"short_fields": true,
"text": "<string>",
"thumb_url": "<string>",
"title": "<string>",
"title_link": "<string>",
"username": "<string>"
},
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"victor_ops": {
"api_key": "<string>",
"api_url": "<string>",
"custom_fields": {},
"entity_display_name": "<string>",
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"message_type": "<string>",
"monitoring_tool": "<string>",
"routing_key": "<string>",
"state_message": "<string>"
},
"webhook": {
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"url": "<string>"
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.chronosphere.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Chronosphere API token
Path Parameters
Body
application/json
If true, the Notifier will be created if it does not already exist, identified by slug. If false, an error will be returned if the Notifier does not already exist.
If true, validates the specified configuration without creating or updating the Notifier. If the specified configuration is valid, the endpoint returns a partial response without the Notifier. If the specified configuration is invalid, the endpoint returns an error.
The Notifier to update.
Show child attributes
Show child attributes
Response
A successful response containing the updated Notifier.
Show child attributes
Show child attributes
⌘I

