[{"label":"Latest (v37.1)","version":"latest"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Update Certificate Library Item
DescriptionUpdates the specified certificate library item. Only the alias and description fields may be edited Note: This API also supports a former (erroneously spelt) alternate path /cetificateLibrary/{id} as a Deprecated API (deprecated-in and removed after API version 36.0)
Request
URLURL
https://{api_host}/cloudapi/1.0.0/ssl/certificateLibrary/{id}
Path Parameters
Path Parameters
string
id
Required
Request Body
Request Body
CertificateLibraryItem
of type(s) application/json
Required
{
"alias": "string",
"certificate": "string"
}
string
alias
Required
string
certificate
Required
PEM encoded certificate
string
description
Optional
Description of the certificate library item
string
id
Optional
string
privateKey
Optional
PEM encoded private key. Required if providing a certificate chain
string
privateKeyPassphrase
Optional
passphrase for the private key. Required if the private key is encrypted
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
CertificateLibraryItem
of type(s) application/json;version=36.3
{
"alias": "string",
"certificate": "string",
"description": "string",
"id": "string",
"privateKey": "string",
"privateKeyPassphrase": "string"
}
string
alias
Required
string
certificate
Required
PEM encoded certificate
string
description
Optional
Description of the certificate library item
string
id
Optional
string
privateKey
Optional
PEM encoded private key. Required if providing a certificate chain
string
privateKeyPassphrase
Optional
passphrase for the private key. Required if the private key is encrypted
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"alias":"string","certificate":"string","description":"string","id":"string","privateKey":"string","privateKeyPassphrase":"string"}' https://{api_host}/cloudapi/1.0.0/ssl/certificateLibrary/{id}
[{"label":"Latest (v37.1)","version":"latest"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 35.0