DeleteDirectoryInGuestRequestType

DeleteDirectoryInGuestRequestType
DeleteDirectoryInGuestRequestType

The parameters of DeleteDirectoryInGuest.

JSON Example
{
    "vm": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "auth": {
        "_typeName": "string",
        "interactiveSession": false
    },
    "directoryPath": "string",
    "recursive": false
}
vm
Required

Virtual Machine to perform the operation on.

Required privileges: VirtualMachine.GuestOperations.Modify

auth
Required

The guest authentication data. See GuestAuthentication.

string
directoryPath
Required

The complete path to the directory to be deleted.

boolean
recursive
Required

If true, all subdirectories are also deleted. If false, the directory must be empty for the operation to succeed.