7.3

Table Of Contents
Parameter Description
$token Specifies a valid HTTP bearer token with necessary credentials.
HTTP body Describes the reservation policy to update.
To obtain the value, query the reservation policy and copy the response
output to an editor for use as the basis of your command input. See Display a
Reservation Policy by ID Example.
n
$id - reservation policy ID
n
$name - reservation policy name
n
$description - reservation policy description
n
$reservationPolicyTypeId - reservation policy type ID
The supported reservation policy types are
Reservation.Policy.ComputeResource and Reservation.Policy.Storage.
Output
If the command is successful, the HTTP response body is empty except for a 204 No Content status
statement.
Deleting a Reservation Policy Example
DELETE /api/reservations/policies/{id} deletes a vRealize Automation reservation policy with a
reservation policy ID.
curl Command
The following example command deletes a reservation policy with an ID of 8adafb54-4c85-4478-86f0-
b6ae80ab5ca4.
curl –X “Delete” --insecure -H "Accept:application/json"
-H "Authorization: Bearer $token"
https://$vRA/reservation-service/api/reservations/policies/8adafb54-4c85-4478-86f0-b6ae80ab5ca4
JSON Output
If the command is successful, the HTTP response body is empty except for a 204 No Content status
statement.
Input
Use the supported input parameters to control the command output.
Parameter Description
URL https://$vRA/reservation-service/api/reservations/policies/$id
Method Delete
Programming Guide
VMware, Inc. 288