You can use the REST API reservation service to delete a vRealize Automation reservation policy.

Before you begin

  • Log in to vRealize Automation as a fabric group administrator.

  • Verify that the host name and fully qualified domain name of the vRealize Automation instance are available.

  • Verify that you have a valid HTTP bearer token that matches your login credentials. See REST API Authentication.

  • Get the required reservation policy ID. See Syntax for Listing Reservation Policies.

About this task

For information about available command input and output parameters, see Syntax for Deleting a Reservation Policy Syntax.

Procedure

Delete the reservation policy ID.

The following example syntax updates the information for reservation policy ID8adafb54-4c85-4478-86f0-b6ae80ab5ca4.

curl –X “Delete” --insecure -H "Accept:application/json" 
-H "Authorization: Bearer $token" 
https://$host/reservation-service/api/reservations/policies/8adafb54-4c85-4478-86f0-b6ae80ab5ca4

If the command is successful, the HTTP response body is empty except for a 204 No Content status statement.