API - Planyo Web Services - delete_reservation

Vous êtes ici: Planyo » Aide » API » delete_reservation

delete_reservation

Description:

Permanently deletes a reservation. Warning: this action cannot be undone.

Input:

reservation_id int required
ID of the reservation
delete_user_without_reservations bool optional
If set to true, this will also delete the user but only if they have no other reservations and if they have no Planyo login and if they have not been entered into the system by an administrator. The default value is false.
method string required
must be set to delete_reservation
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.