datadog delete-monitor
Delete the specified monitor
Description
Delete the specified monitor
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
monitor
- (int)
The ID of the monitor
Example: 1
Default: _None_
Attributes: required
force
- (string)
Delete the monitor even if it's referenced by other resources
Example: --force "force-1"
Default: _None_
Attributes: optional
Examples
datadog delete-monitor 1 --force "force-1"
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "delete" |
Service Type | "datadog" |
Service Instance | |
Namespace | |
Object Type | "monitor" |
Object ID | monitor |
Please see Access Control for details.