7.2

Table Of Contents
Procedure
u
Delete the network prole.
The following example command deletes the network prole 263b80f5-d34f-47f2-b0b1-5a3db991c2e9.
curl –X “Delete” --insecure -H "Accept:application/json"
-H "Authorization: Bearer $token"
https://$host/network/profiles/263b80f5-d34f-47f2-b0b1-5a3db991c2e9
The output contains an empty HTTP response body and the following status code.
204 No Content
Syntax for Deleting a Network Profile
You can use the vRealize Automation REST API to delete an existing network prole.
Input
Use the supported input parameters to control the command output.
Parameter Description
URL hps://$host/iaas-proxy-provider/api/network/proles/$id
Method Delete
$host Species the host name and fully qualied domain name or
IP address of the vRealize Automation identity server.
$token Species a valid HTTP bearer token with necessary
credentials.
$id: Species the unique network prole identier.
Output
The command output contains a status statement.
Parameter Description
status
If the command is not successful, the HTTP status is 204
No Content.
Example: curl Command
The following example command deletes a network prole with an ID of 263b80f5-d34f-47f2-
b0b1-5a3db991c2e9.
curl –X “Delete” --insecure -H "Accept:application/json"
-H "Authorization: Bearer $token"
https://$host/network/profiles/263b80f5-d34f-47f2-b0b1-5a3db991c2e9
Example: JSON Output
The output contains an empty HTTP response body and the following status code.
204 No Content
Get a List of Available IP Ranges for an IPAM Provider
You can query a specied IPAM provider endpoint for a list of the available IP address ranges congured on
the IPAM provider device.
Programming Guide
316 VMware, Inc.