PARALLAX

meraki_webhook

Manage and test Meraki webhooks

Collection: cisco.meraki

Full Name: cisco.meraki.meraki_webhook

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Manage and test Meraki webhooks

Parameters

NameTypeRequiredDefaultDescription
auth_keystryes
hoststrapi.meraki.com
use_proxyboolfalse
use_httpsbooltrue
validate_certsbooltrue
output_formatstrsnakecase
output_levelstrnormal
timeoutint30
org_namestr
org_idstr
rate_limit_retry_timeint165
internal_error_retry_timeint60
statestrquery
net_namestr
net_idstr
namestr
urlstr
shared_secretstr
webhook_idstr
teststr
test_idstr
payload_template_namestr
payload_template_idstr

Example

yaml
- delegate_to: localhost
  meraki_webhook:
    auth_key: abc123
    name: Test_Hook
    net_name: YourNet
    org_name: YourOrg
    payload_template_name: Slack (included)
    shared_secret: shhhdonttellanyone
    state: present
    url: https://webhook.url/
  name: Create webhook

- delegate_to: localhost
  meraki_webhook:
    auth_key: abc123
    name: Test_Hook
    net_name: YourNet
    org_name: YourOrg
    state: query
  name: Query one webhook

- delegate_to: localhost
  meraki_webhook:
    auth_key: abc123
    net_name: YourNet
    org_name: YourOrg
    state: query
  name: Query all webhooks

- delegate_to: localhost
  meraki_webhook:
    auth_key: abc123
    name: Test_Hook
    net_name: YourNet
    org_name: YourOrg
    state: absent
  name: Delete webhook

- delegate_to: localhost
  meraki_webhook:
    auth_key: abc123
    net_name: YourNet
    org_name: YourOrg
    state: present
    test: test
    url: https://webhook.url/abc123
  name: Test webhook

- delegate_to: localhost
  meraki_webhook:
    auth_key: abc123
    net_name: YourNet
    org_name: YourOrg
    state: query
    test_id: abc123531234
  name: Get webhook status
Search
    ↑ ↓ move↵ openesc close