Creates a webhook.
Successful Response
Bad request
Unauthorized
Forbidden
Not found
Not acceptable
Unsupported media type
Internal server error
{- "name": "Server Webhook",
- "state": "DISABLED",
- "eventFilter": "type eq 'compute-ops/server'",
- "headers": {
- "exampleHeader": "hlCiqcLeZVPOtJNzdGqF"
}
}
{- "name": "Server Webhook",
- "id": "36e00ac2-16fb-4dd5-8495-7e6df82fc15e",
- "type": "compute-ops-mgmt/webhooks",
- "generation": 1,
- "createdAt": "2022-02-11T01:04:20.799937+00:00",
- "updatedAt": "2022-03-11T01:06:30.799489+00:00",
- "eventFilter": "type eq 'compute-ops/server'",
- "state": "DISABLED",
- "status": "DISABLED",
- "statusReason": "Created",
- "resourceUri": "/compute-ops-mgmt/v1beta1/webhooks/b870f080-6448-48c5-b23a-d04f2d489174",
- "deliveriesUri": "/compute-ops-mgmt/v1beta1/webhooks/b870f080-6448-48c5-b23a-d04f2d489174/deliveries"
}