Incidents.Actions.Webhook
Overview
Available Operations
TriggerManually
Example Usage
package main
import(
"context"
"os"
squadcastsdk "github.com/solarwinds/squadcast-sdk-go"
"log"
)
func main() {
ctx := context.Background()
s := squadcastsdk.New(
squadcastsdk.WithSecurity(os.Getenv("SQUADCASTSDK_BEARER_AUTH")),
)
res, err := s.Incidents.Actions.Webhook.TriggerManually(ctx, "<id>", "<id>")
if err != nil {
log.Fatal(err)
}
if res.Object != nil {
// handle response
}
}Parameters
Parameter
Type
Required
Description
Response
Errors
Error Type
Status Code
Content Type
Last updated