Get alertmanager global settings API Reference
GET
/tenants/{tenant}/alertmanager/global
const url = 'https://api.kupe.cloud/api/v1/tenants/acme/alertmanager/global';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.kupe.cloud/api/v1/tenants/acme/alertmanager/global \ --header 'Authorization: <Authorization>'Returns the global section of the Alertmanager configuration: SMTP defaults,
slack_api_url, resolve_timeout, etc. Returns an empty object if no global is set.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” tenant
required
string
Tenant name
Responses
Section titled “ Responses ”Global section
Media type application/json
object
resolve_timeout
string
slack_api_url
string
smtp_from
string
smtp_smarthost
string
Example
{ "resolve_timeout": "5m", "smtp_from": "alerts@acme.com", "smtp_smarthost": "smtp.example.com:587"}