Disable user membership action

This action lets you disable one or all user memberships via the Restrict Content Pro integration. Use it to automate you daily work and save time and resources.

How to disable one or all user memberships

This section aims to help you getting started on how to disable one or all user memberships via Restrict Content Pro. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Disable user membership" arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Disable user membership action which is then handled accordingly to the described purpose. You can use the arguments that you would like to send values for.
To learn more about it, please see the Setup Guide above.
user *

Set this argument to the id of the user. In case you do not have the user id, you can also assign the user via a given email.

membership_level *

The ID of the membership level that you want to disable. Set this argument to all to disable all memberships.

do_action

Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.

wpwh_call_action

(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )

Connection examples

Get inspired on how to use the "Disable user membership" action within our Restrict Content Pro integrations. Down below you will find various examples with our other integrations.
When a company was deleted via The Jetpack CRM Logo for our WP Webhooks integration Jetpack CRM, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When an order was updated via The Woocommerce Logo for our integration WooCommerce, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When an ACF user field was updated via The Advanced Custom Fields Logo for our WP Webhooks integration Advanced Custom Fields, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a comment was deleted via The WordPress Logo for our integration WordPress, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a lesson was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When an order was created via The Woocommerce Logo for our integration WooCommerce, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When the object cache was cleared via The LiteSpeed Cache Logo for our WP Webhooks integration LiteSpeed Cache, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a booking was set to pending via The Events Manager Logo for our WP Webhooks integration Events Manager, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When the object cache was cleared via The W3 Total Cache Logo for our WP Webhooks integration W3 Total Cache, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When an order was completed via The Studiocart Logo for our WP Webhooks integration Studiocart, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a Pabbly Connect webhook request was received via The Pabbly Connect Logo for our WP Webhooks integration Pabbly Connect, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a paid membership expired via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a payments status was changed via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a coupon was updated via The Woocommerce Logo for our integration WooCommerce, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a project was approved via The ProjectHuddle Logo for our WP Webhooks integration ProjectHuddle, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a n8n HTTP request was received via The n8n Logo for our WP Webhooks integration n8n, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When an import was processed via The WP All Import Logo for our WP Webhooks integration WP All Import, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a tag was removed via The WP Fusion Logo for our WP Webhooks integration WP Fusion, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a form was submitted via The WS Form Logo for our WP Webhooks integration WS Form, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When the page cache was cleared via The Hummingbird Logo for our WP Webhooks integration Hummingbird, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.
When a user has logged in via The WordPress Logo for our integration WordPress, disable one or all user memberships via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro.

More available Restrict Content Pro endpoints

Discover more of the available endpoints used for the Restrict Content Pro integration.
To learn more about a specific endpoint, simply click on it.
Full disclosure: When clicking on some of the links on our website and purchasing the related product and/or service, we may earn a commission free of any additional cost for you.