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

Avant de commencer

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

Pourquoi et quand exécuter cette tâche

Procédure

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