API - Planyo Web Services - remove_resource

Estás aquí: Planyo » Ayuda » API » remove_resource

remove_resource

Description:

Removes an existing resource. WARNING: all existing reservations for the resource will be also removed and this operation cannot be undone. The extra parameters (resource_name, site_id, resource_id_md5) are required for verification purposes.

Input:

resource_id int required
Resource ID.
resource_name string required
Exact name of the resource to be removed. Must correspond to the resource ID passed.
parent_site_id int required
ID of the site the resource to be removed belongs to.
resource_id_md5 string required
MD5 of the resource id. This is here for security reasons, to prevent accidental execution of this function.
method string required
must be set to remove_resource
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.