[{"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
Update Service Item
DescriptionUpdate specified service item
Request
URLURL
https://{api_host}/cloudapi/serviceItem/{id}
Path Parameters
Path Parameters
string
id
Required
Request Body
Request Body
ServiceItem
of type(s) application/json
Required
{
"serviceItemType": "string"
}
string
serviceItemType
Required
boolean
canExecute
Optional
string
description
Optional
string
iconData
Optional
string
id
Optional
string
name
Optional
boolean
providerScoped
Optional
boolean
publishAll
Optional
Read-only value indicating publishAll state
string
serviceId
Optional
string
iconMimeType
Optional
string
serviceName
Optional
boolean
tenantScoped
Optional
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
ServiceItem
of type(s) application/json;version=37.2
{
"canExecute": false,
"description": "string",
"iconData": "string",
"iconMimeType": "string",
"id": "string",
"name": "string",
"providerScoped": false,
"publishAll": false,
"serviceId": "string",
"serviceItemType": "string",
"serviceName": "string",
"tenantScoped": false
}
string
serviceItemType
Required
boolean
canExecute
Optional
string
description
Optional
string
iconData
Optional
string
id
Optional
string
name
Optional
boolean
providerScoped
Optional
boolean
publishAll
Optional
Read-only value indicating publishAll state
string
serviceId
Optional
string
iconMimeType
Optional
string
serviceName
Optional
boolean
tenantScoped
Optional
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"canExecute":false,"description":"string","iconData":"string","iconMimeType":"string","id":"string","name":"string","providerScoped":false,"publishAll":false,"serviceId":"string","serviceItemType":"string","serviceName":"string","tenantScoped":false}' https://{api_host}/cloudapi/serviceItem/{id}
[{"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
On This Page
Services Operations
post
delete
delete
get
get
get
Get Service Item Tenants
Changed
get
Get Service Item Tenants Query
Introduced
post
post
Post Service Item Publish
Changed
post
Post Service Item Publish All
Changed
post
Post Service Item Publish All Bounded
Introduced
post
Post Service Item Publish Bounded
Introduced
post
Post Service Item Unpublish
Changed
post
Post Service Item Unpublish All
Changed
post
Post Service Item Unpublish All Bounded
Introduced
post
Post Service Item Unpublish Bounded
Introduced
get
put
Set Service Item Tenants
Changed
put
Set Service Item Tenants Bounded
Introduced
put