Delete a dashboard
DELETE/dashboards/:dashboard_id
Removes the dashboard from the application. Caller must hold dashboards.fullaccess on role_id and owner AccessType on the dashboard. On success Message is "Successfully deleted dashboard". May revoke QuickSight widget access and clean related ACL/notification metadata. This Lambda maps InvalidInputException to HTTP 422, UnauthorizedUserException (resource ACL) to HTTP 401, RequestValidationError to HTTP 400, and unhandled/GenericFailure to HTTP 500.
Request
Responses
- 200
- 400
- 401
- 422
- 500
Dashboard deleted successfully.
Response Headers
RequestValidationError for invalid request parameters.
Response Headers
Insufficient resource AccessType (need owner). Body is {"Message": "AUTH-1012 - ..."}.
Response Headers
InvalidInputException. Codes include AUTH-1001, AUTH-1030 (missing dashboards.fullaccess), IPV-1002.
Response Headers
Backend/generic failure. Body is {"Message": " -