You can use the vRealize Automation REST API network service to delete an existing network profile.
开始之前
Log in to vRealize Automation as a tenant 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.
Obtain the network profile ID to delete. See Get a Network Profile List.
过程
Delete the network profile.
The following example command deletes the network profile 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