7.3

Table Of Contents
}]
}
}
Example: Update 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.
Delete a Reservation
You can use the vRealize Automation REST API reservation service to delete an existing reservation.
Prerequisites
In addition to the Prerequisites for Working With Reservations, 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
u
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.
Service Examples for Working with Reservations
Syntax for each service example lists input parameters, output parameters, and curl commands.
Most examples use the reservation service API. You use the identity service API to get the business
group ID for a reservation.
Programming Guide
VMware, Inc. 191