Apache CloudStack 4.20.0.0 Root Admin API Reference

createWebhook

Creates a Webhook

Request parameters

Parameter NameDescriptionRequired
nameName for the Webhooktrue
payloadurlPayload URL of the Webhooktrue
accountAn optional account for the Webhook. Must be used with domainId.false
descriptionDescription for the Webhookfalse
domainidan optional domainId for the Webhook. If the account parameter is used, domainId must also be used.false
projectidProject for the Webhookfalse
scopeScope of the Webhookfalse
secretkeySecret key of the Webhookfalse
sslverificationIf set to true then SSL verification will be done for the Webhook otherwise notfalse
stateState of the Webhookfalse

Response Tags

Response NameDescription
idThe ID of the Webhook
accountThe account associated with the Webhook
createdThe date when this Webhook was created
descriptionThe description of the Webhook
domainThe name of the domain in which the Webhook exists
domainidThe ID of the domain in which the Webhook exists
domainpathpath of the domain to which the Webhook belongs
nameThe name of the Webhook
payloadurlThe payload URL end point for the Webhook
projectthe project name of the Kubernetes cluster
projectidthe project id of the Kubernetes cluster
scopeThe scope of the Webhook
secretkeyThe secret key for the Webhook
sslverificationWhether SSL verification is enabled for the Webhook
stateThe state of the Webhook