Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

webhook
required

Validations:

  • Must be a Hash

webhook[name]
required

Validations:

  • Must be a String

webhook[target_url]
required

Validations:

  • Must be a String

webhook[http_method]
optional , nil allowed

Validations:

  • Must be one of: POST, GET, PUT, DELETE, PATCH.

webhook[http_content_type]
optional , nil allowed

Validations:

  • Must be a String

webhook[event]
required

Validations:

  • Must be a String

webhook[webhook_template_id]
optional , nil allowed

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

webhook[enabled]
optional , nil allowed

Validations:

  • Must be one of: true, false, 1, 0.

webhook[verify_ssl]
optional , nil allowed

Validations:

  • Must be one of: true, false, 1, 0.

webhook[ssl_ca_certs]
optional , nil allowed

X509 Certification Authorities concatenated in PEM format

Validations:

  • Must be a String

webhook[user]
optional , nil allowed

Validations:

  • Must be a String

webhook[password]
optional , nil allowed

Validations:

  • Must be a String

webhook[http_headers]
optional , nil allowed

Validations:

  • Must be a String