Inventory View Close Inventory View Folder

Inventory View Close Inventory View Folder

Notify the server that folder(s) have been closed, and changes for all its contained objects should no longer be sent.

The associated child objects are removed from the view. The containers themselves will still be retained as open objects until their parent is closed.

May partially succeed if some entities could not be resolved. The operation will still succeed for all entities that could be resolved, and the list of those that failed is returned as the result.

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/InventoryView/{moId}/CloseInventoryViewFolder
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case InventoryView/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.


Request Body
CloseInventoryViewFolderRequestType of type(s) application/json
Required

Show optional properties

{
    "entity": [
        {}
    ]
}
{
    "entity": [
        {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    ]
}
entity
Required

An array of managed object references. Each array entry is a reference to an entity to collapse.

Required privileges: System.View

Authentication
This operation uses the following authentication methods.
Responses
200

A list containing any entities in the argument could not be resolved.

Returns Array of MoRefManagedEntity of type(s) application/json
[
    {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    }
]