Update Content Library
Update content library.
Request
URI
PUT
https://{api_host}/cloudapi/vcf/contentLibraries/{libraryUrn}
COPY
Path Parameters
string
libraryUrn
Required
libraryUrn
Request Body
ContentLibrary
of type(s)
application/json
Optional
Show optional properties
{
"name": "string"
}
{
"id": "string",
"name": "string",
"description": "string",
"org": {
"name": "string",
"id": "string"
},
"libraryType": "string",
"isSubscribed": false,
"isShared": false,
"creationDate": "string",
"storageClasses": [
{
"name": "string",
"id": "string"
}
],
"versionNumber": 0,
"subscriptionConfig": {
"subscriptionUrl": "string",
"password": "string",
"needLocalCopy": false
},
"autoAttach": false,
"status": "READY, NOT_READY, FAILED, PARTIALLY_READY"
}
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
Vendor Extension
This operation contains the following vendor extensions defined in the spec:
[object Object]
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string"}' https://{api_host}/cloudapi/vcf/contentLibraries/{libraryUrn}
Availability
Added in 40.0
On This Page
Content Library Operations
GET
Query Content Libraries
POST
Create Content Library
POST
Refresh Content Library
POST
Sync Content Library
GET
Get Content Library
PUT
Update Content Library
DELETE
Delete Content Library