[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"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
Add Consumer Ref To Cert Library Item
DescriptionAdds the specified consumer reference to a library item.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/ssl/certificateLibrary/{certLibraryItemId}/consumers
Path Parameters
Path Parameters
string
certLibraryItemId
Required
Request Body
Request Body
EntityReference
of type(s) application/json
Required
{
"id": "string",
"name": "string"
}
string
id
Optional
string
name
Optional
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
EntityReference
of type(s) application/json;version=37.2
{
"id": "string",
"name": "string"
}
string
id
Optional
string
name
Optional
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"id":"string","name":"string"}' https://{api_host}/cloudapi/1.0.0/ssl/certificateLibrary/{certLibraryItemId}/consumers
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"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