[{"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

Set Service Item Tenants

Description

Resets list of tenants for whom the service item is explicitly published

Request

Request

URL

URL


put
https://{api_host}/cloudapi/serviceItem/{id}/tenants
Copy

Path Parameters

Path Parameters

string
id Required

Request Body

Request Body

array of EntityReference of type(s) application/json Required
{
	"id": "string",
	"name": "string"
}
string
id Optional

string
name Optional
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns array of EntityReference of type(s) application/json;version=37.1
{
	"id": "string",
	"name": "string"
}
string
id Optional

string
name Optional

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '[{"id":"string","name":"string"}]' https://{api_host}/cloudapi/serviceItem/{id}/tenants


[{"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
Feedback

Was this page helpful?