Skip to content

datadog cancel-downtime

Cancel a downtime/ Delete all downtimes that match the scope

Description

Cancel a downtime/ Delete all downtimes that match the scope

Synopsis

datadog cancel-downtime
    [--site <site>]
    <downtime>
    [--scope <scope>]

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: optional

downtime - (int)

     ID of the Downtime
     Example: 1
     Default: _None_      Attributes: required

scope - (string)

     The scope(s) to which the downtime applies
     Example: --scope "scope-1"
     Default: _None_      Attributes: optional

     Validation:
         allowed values: env:dev, env:prod

Examples

datadog cancel-downtime 1 --scope "scope-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 "downtime"
Object ID

Please see Access Control for details.