gcloud monitoring dashboards delete - delete a Cloud Monitoring dashboard
gcloud monitoring dashboards delete DASHBOARD [GCLOUD_WIDE_FLAG ...]
Delete a Monitoring dashboard.
To delete a dashboard, run:
$ gcloud monitoring dashboards delete MY-DASHBOARD
To delete a dashboard contained within a specific project, run:
$ gcloud monitoring dashboards delete MY-DASHBOARD \ --project=MY-PROJECT
To delete a dashboard with a fully qualified dashboard ID, run:
$ gcloud monitoring dashboards delete \ projects/MY-PROJECT/dashboards/MY-DASHBOARD
- Dashboard resource - The dashboard to delete. This represents a Cloud resource.
(NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the project attribute:
- —
provide the argument dashboard on the command line with a fully specified name;
- —
provide the argument --project on the command line;
- —
set the property core/project.
This must be specified.
- DASHBOARD
ID of the dashboard or fully qualified identifier for the dashboard. To set the dashboard attribute:
provide the argument dashboard on the command line.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command uses the monitoring/v1 API. The full documentation for this API can be found at: https://cloud.google.com/monitoring/api/
These variants are also available:
$ gcloud alpha monitoring dashboards delete
$ gcloud beta monitoring dashboards delete