CloudTrail / Client / delete_dashboard

delete_dashboard

CloudTrail.Client.delete_dashboard(**kwargs)

Warning

CloudTrail Lake will no longer be open to new customers starting May 31, 2026. If you would like to use CloudTrail Lake, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see CloudTrail Lake availability change.

Deletes the specified dashboard. You cannot delete a dashboard that has termination protection enabled.

See also: AWS API Documentation

Request Syntax

response = client.delete_dashboard(
    DashboardId='string'
)
Parameters:

DashboardId (string) –

[REQUIRED]

The name or ARN for the dashboard.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions