API - Planyo Web Services - remove_user

Ti trovi qui: Planyo » Aiuto » API » remove_user

remove_user

Description:

Deletes an existing user. A user can be deleted only if they have no reservations made for given Planyo site or if their only reservations have been cancelled and they have no other reservations outside of given Planyo site (or its parent metasite).

Input:

user_id int required
User ID
site_id int optional
ID of the site from which the user is to be removed. Needed only for meta site API keys.
method string required
must be set to remove_user
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.