[{"label":"Latest (v37.0)","version":"latest"},{"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

Upload Branding Theme Contents

Description

Update an existing custom theme’s contents, uniquely identified by name. Currently, this is limited to a single CSS file.

Request

Request

URL

URL


post
https://{api_host}/cloudapi/branding/themes/{name}/contents
Copy

Path Parameters

Path Parameters

string
name Required

Request Body

Request Body

UploadSpec of type(s) application/json Required
{
	"fileName": "string",
	"size": 0
}
string
fileName Required

integer as int64
size Required

string
checksum Optional

string
checksumAlgo Optional

Possible values are: sha1sha256

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

No Content

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"checksum":"string","checksumAlgo":"sha1","fileName":"string","size":0}' https://{api_host}/cloudapi/branding/themes/{name}/contents


[{"label":"Latest (v37.0)","version":"latest"},{"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?