Membership Cancellation and Program Access?

Good morning everyone!

I’m wondering if there is a way to **automatically** revoke access to programs that are provided through membership access after a client cancels? For example, I have a private booking page that allows clients to enroll in the membership specific programs that are included with their subscription based on a specific client tag - however, I’m not seeing a way to revoke access to these programs and resources should a client cancel their membership subscription…any and all guidance will be greatly appreciated!