API - Planyo Web Services - remove_site_moderator

You are here: Planyo » Help » API » remove_site_moderator

remove_site_moderator

Description:

Use this function to remove the moderator role from a user.

Input:

user_id int required
ID of the user to be removed from the site moderator list.
site_id int optional
Planyo site ID. This parameter is only required if using an API key for a meta site.
method string required
must be set to remove_site_moderator
language string optional
by specifying a 2-letter (ISO 639-1) language code (all capital letters e.g. EN, DE, FR, ES, IT) you can change the language of the text values returned
api_key string required
your API key - Click here to get your key. If your API key uses a hash key, you must also include the parameters hash_key and hash_timestamp.

Output:

none

API playground:

Click here to test this function in the API playground.