Stautspage integration with Grafana oncall to update the component

Pramodh Kumar February 11, 2024

Hi Team

I'm trying to status page component using the API, I'm using the Grafana oncall outgoing webhooks to update the status page when the alert is triggered.

I'm getting the below error message 

{
    "error": "Could not authenticate"
}

I've used the API key to authenticate and below is the payload used to update the component

{
  "component": {
    "description": "description for component",
    "status": "degraded_performance",
    "name": "FTP Portal",
    "only_show_if_degraded": true,
    "group_id": "*********", 
    "showcase": true,
    "start_date": "2024-02-11"
  }
}

 Another confusion here is, in place of group_id do I need to use the component group ID or the component which I need to update.?

 

Thanks in advance

1 answer

1 accepted

0 votes
Answer accepted
Pramodh Kumar February 12, 2024

Issue resolved, by using the bearer token

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events