You can use the vRealize Automation REST API to delete a key pair.

About this task

Prerequisites

  • 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.

  • If you are not using the API Explorer, verify that you have a valid HTTP bearer token that matches your login credentials. See REST API Authentication.

Procedure

Use the following sample command to delete a key pair.
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