GET https://{{base-url}}/cloudapi/1.0.0/brandingThemes/ Accept: application/json;version=39.0.0-alpha-1689260915
{... "values": [ { "id": "urn:vcloud:entity:vmware:brandinguitheme:af85e10a-1234-56ae-9eb0-089a65bde492", "name": "My custom theme", ... ]}Locate the target theme by name and copy the theme urn.
GET https://{{base-url}}/cloudapi/1.0.0/entities/urn:vcloud:entity:vmware:brandinguitheme:af85e10a-00ea-47ed-9eb0-089a65bde492
{ "id": "urn:vcloud:entity:vmware:brandinguitheme:af85e10a-00ea-47ed-9eb0-089a65bde492", "entityType": "urn:vcloud:type:vmware:brandinguitheme:1.0.0", "name": "My custom theme", "entity": { "logo": "logo.png", ... }
"customLinks": "<URN from Step 1>_custom_links.json",
"customLinks": "urn:vcloud:entity:vmware:brandinguitheme:af85e10a-00ea-47ed-9eb0-089a65bde492_custom_links.json",
PUT https://{{base-url}}/cloudapi/1.0.0/entities/urn:vcloud:entity:vmware:brandinguitheme:af85e10a-00ea-47ed-9eb0-089a65bde492
{ "id": "urn:vcloud:entity:vmware:brandinguitheme:af85e10a-00ea-47ed-9eb0-089a65bde492", "entityType": "urn:vcloud:type:vmware:brandinguitheme:1.0.0", "name": "My custom theme", "entity": { "logo": "logo.png", ... "customLinks": "urn:vcloud:entity:vmware:brandinguitheme:af85e10a-00ea-47ed-9eb0-089a65bde492_custom_links.json", ... } }
This issue will be resolved in the next release of Cloud Director 10.5.x.
For more information on connecting to the Cloud Director API see the article here, How to establish an API connection VMware Cloud Director (56948).