How to Create a new folder in vcenter using rest api

792 Views Asked by At

Can anyone help me to provide right API to create a New folder in vcenter

Thanks, Benji

I can see only get API to list folders in vmware api document, unable to find any create folder API

2

There are 2 best solutions below

0
On

Unfortunately that functionality doesn't yet exist in the vSphere Automation (REST) API. It can be done through the vSphere Management (SOAP) API though. There's a CreateFolder method that can be found when interacting with the Folder managed object: Link to Docs

0
On