Delete a Reservation

You can use the vRealize Automation REST API reservation service to delete an existing reservation.

Prerequisites

In addition to the Prerequisites, obtain the reservation ID of the reservation that you want to delete. This information is required API command input. See Syntax for Displaying a List of Reservations before deleting a reservation.

Procedure

Use the reservation service to delete the existing reservation.
The following example command deletes a reservation with the ID of 94d74105-831a-4598-8f42-efd590fea15c.
curl –X “Delete” --insecure -H "Accept:application/json" 
-H "Authorization: Bearer $token" 
https://$vRA/reservation-service/api/reservations/94d74105-831a-4598-8f42-efd590fea15c

Example: Delete a Reservation

The following output is returned based on the command input.
If the command is successful, the HTTP response body is empty except for a 204 No Content status statement.