Update alertmanager global settings API Reference
PUT
/tenants/{tenant}/alertmanager/global
const url = 'https://api.kupe.cloud/api/v1/tenants/acme/alertmanager/global';const options = { method: 'PUT', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"resolve_timeout":"5m","slack_api_url":"example","smtp_from":"alerts@acme.com","smtp_smarthost":"smtp.example.com:587"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.kupe.cloud/api/v1/tenants/acme/alertmanager/global \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "resolve_timeout": "5m", "slack_api_url": "example", "smtp_from": "alerts@acme.com", "smtp_smarthost": "smtp.example.com:587" }'Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” tenant
required
string
Tenant name
Header Parameters
Section titled “ Header Parameters ” If-Match
string
Wrapper ETag
Request Body
Section titled “ Request Body ”Global configuration
Media type application/json
object
resolve_timeout
string
Example
5m slack_api_url
string
smtp_from
string
Example
alerts@acme.com smtp_smarthost
string
Example
smtp.example.com:587Responses
Section titled “ Responses ”Global section after update
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"}