Skip to content

datadog get-dashboard

Delete the specified monitor

Description

Delete the specified monitor

Synopsis

datadog get-dashboard
    [--site <site>]
    [--dashboard <dashboard>]
    [--shared]
    [--deleted]

Arguments

site - (string)

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

dashboard - (string)

     The ID of the dashboard
     Example: --dashboard "dashboard-1"
     Default: _None_      Attributes: optional

shared - (bool)

     When true, this query only returns shared custom created or cloned dashboards
     Example: --shared
     Default: false      Attributes: optional

deleted - (bool)

     When true, this query returns only deleted custom-created or cloned dashboards
     Example: --deleted
     Default: false      Attributes: optional

Examples

Input:

!datadog get-dashboard
Output:
ID              DESCRIPTION             TITLE                   READ-ONLY       LAYOUT
kbt-jqs-r9c     frfcdwescrvesdcds       sfcaecdwswedcerfrews    false           ordered
gnz-tgq-cv6                             testDAshboard           false           ordered
Input:
!datadog get-dashboard --dashboard "kbt-jqs-r9c"
Output:
ID              DESCRIPTION             TITLE                   READ-ONLY       LAYOUT
kbt-jqs-r9c     frfcdwescrvesdcds       sfcaecdwswedcerfrews    false           ordered

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "datadog"
Service Instance
Namespace
Object Type "dashboard"
Object ID

Please see Access Control for details.