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
Issue resolved, by using the bearer token
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.