You can use the vRealize Automation REST API to delete a key pair.
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.
curl –X “Delete” --insecure -H "Accept:application/json" -H "Authorization: Bearere $token" https://$host/iaas-proxy-provider/api/keyPairs/26
The output contains an empty HTTP response body and the following status code.
204 No Content