7.3

Table Of Contents
JSON Output
The output contains an empty HTTP response body and the following status code.
204 No Content
Input
Use the supported input parameters to control the command output.
Parameter Description
URL https://$vRA/iaas-proxy-provider/api/keyPairs/$id
Method Put
$vRA Specifies the appliance name and fully qualified domain name,
or IP address of the vRealize Automation server.
$token Specifies a valid HTTP bearer token with necessary credentials.
HTTP Body Contains the HTTP body that describes the key pair to update
and what to update in the identified key pair.
n
$id: Specifies the unique identifier of the key pair.
n
$name: Specifies the unique identifier of the key pair.
n
$computeResourceId: Specifies the compute resource ID
that is binded to the key pair.
n
$secretKey: Specifies the secret key for the key pair.
Output
The command output contains a status statement.
Parameter Description
status If the command is not successful, the HTTP status is 204 No
Content.
Delete a Key Pair Example
DELETE /api/keyPairs/{id} deletes a key pair.
curl Command
The following example command deletes a key pair.
curl –X “Delete” --insecure -H "Accept:application/json"
-H "Authorization: Bearer $token"
https://$vRA/iaas-proxy-provider/api/keyPairs/26
Programming Guide
VMware, Inc. 299