How to publish/unpublish quick sight customized dashboard with users in a namespace using python

Want to publish/unpublish quick sight dashboard with users in a namespace from my application implemented using AWS lambda in python. For this unable to find any API support.
Can you please guide on this.

When you say “publish/unpublish”, do you mean to share dashboard with users and remove the dashhboard access with those users? or delete the dashboard?

To remove dashboard access from users, you may use API Update Dashboard Permission

To delete the dashboard, you may use API DeleteDashboard - Amazon QuickSight

1 Like

Thank you very much Royyung.