Save a Dashboard with a Custom Lightning Web Component (Beta)
You can save a dashboard with a custom Lightning web component by sending a PATCH request to the Dashboard Results resource.
This feature is a pilot or beta service that is subject to the Beta Services Terms at Agreements - Salesforce.com or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the Product Terms Directory. Use of this pilot or beta service is at the Customer’s sole discretion.