datadog mute-host
This endpoint allows to mute a host
Description
This endpoint allows to mute a host
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
host
- (string)
Id of host
Example: "host-1"
Default: _None_
Attributes: optional
end
- (time)
time in seconds when the host is unmuted. If omitted, the host remains muted until explicitly unmuted
Example: --end "2019-10-12T07:20:50.52Z"
Default: _None_
Attributes: optional
message
- (string)
Message to associate with the muting of this host
Example: --message "message-1"
Default: _None_
Attributes: optional
override
- (bool)
If true and the host is already muted, replaces existing host mute settings
Example: --override
Default: false
Attributes: optional
Examples
Input:
Output:Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "update" |
Service Type | "datadog" |
Service Instance | |
Namespace | |
Object Type | "host" |
Object ID |
Please see Access Control for details.