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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| auth_key | str | yes | ||
| host | str | api.meraki.com | ||
| use_proxy | bool | false | ||
| use_https | bool | true | ||
| validate_certs | bool | true | ||
| output_format | str | snakecase | ||
| output_level | str | normal | ||
| timeout | int | 30 | ||
| org_name | str | |||
| org_id | str | |||
| rate_limit_retry_time | int | 165 | ||
| internal_error_retry_time | int | 60 | ||
| state | str | query | ||
| net_name | str | |||
| net_id | str | |||
| name | str | |||
| url | str | |||
| shared_secret | str | |||
| webhook_id | str | |||
| test | str | |||
| test_id | str | |||
| payload_template_name | str | |||
| payload_template_id | str |
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