Hello
I want to update components on the StatusPage using webhook from another service.
But I can't update the components.
I set it up like this
----------
・URL
https://api.statuspage.io/v1/pages/{page_id}/components/{component_id}?api_key={api_key}
・Payload
{
"component": {
"status": "{status name}"
}
}
----------
Do you have any idea what's wrong?
It is possible to change the status of a related component using the Incident Creation API.
so There is nothing wrong with {component_id} and {api_key}
Appreciate any assistance
thank you for reply.
in case using Curl, Specify PATCH using the (-X) option.
But in case using payload,
Both PATCH Update a component and PUT Update a component have the same sample content type.
How can I make user I'm using the PATCH method?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.