DeleteWritableVolume

DeleteWritableVolume
DeleteWritableVolume
JSON Example
{
    "success": "Deleted 1 volume",
    "error": "Unable to delete 1 volume",
    "snapvols": {
        "not_found": [
            {
                "id": 0,
                "name": "SNAPVOLUMES\test_user",
                "name_html": "SNAPVOLUMES\test_user",
                "title": "SNAPVOLUMES\test_user",
                "title_html": "SNAPVOLUMES\test_user",
                "owner": "<a href=\\\"/directory#/Users/2\\\" title=\\\"test_user\\\">TESTDOMAIN\\\\test_user</a>",
                "link": "/directory#/Users/2",
                "owner_id": 3,
                "owner_name": "TestUser",
                "owner_type": "User",
                "owner_upn": "SNAPVOLUMES\test_user",
                "owner_upn_html": "SNAPVOLUMES\test_user",
                "owner_object_guid": "8da04bfa-bbbe-45c3-9cbf-2d3d03897b84",
                "description": "My writable volume",
                "created_at": "2021-12-03 13:10:13 -0800",
                "created_at_human": "Dec 03 2021",
                "updated_at": "2021-12-03 13:10:13 -0800",
                "updated_at_human": "Dec 03 2021",
                "mounted_at": "2021-12-03 13:10:13 -0800",
                "mounted_at_human": "Dec 03 2021",
                "mounted_on": "Machine <DESKTOP-VM123> (#{1234567812345678})",
                "mount_count": 0,
                "attached": "string",
                "status": "enabled",
                "version_count": 0,
                "version_tag": "0",
                "error_action": "string",
                "block_login": true,
                "enable_version": false,
                "mount_prefix": "DESKTOP",
                "defer_create": true,
                "total_mb": 10237,
                "free_mb": 5237,
                "size_mb": 5000,
                "requested_mb": 20480,
                "template_version": "4.0.0",
                "busy": false,
                "state": "Moving",
                "volume_guid": "volumeguid-8-volumeguid",
                "datastore_name": "SSD Disk Array RAID8",
                "machine_manager_host": "0.0.0.0",
                "machine_manager_type": "Machine Manager",
                "path": "appvolumes/writable",
                "filename": "snapvolumes_test_user_15.vmdk",
                "file_location": "[SSD Disk Array RAID8] appvolumes/writable/snapvolumes_test_user_15.vmdk",
                "type": "DataDisk",
                "display_type": "Writable Volume",
                "files_count": 1,
                "template_file_name": "[SSD Disk Array RAID8] appvolumes/writable_templates/template_uia_only_persistent.vmdk",
                "protected": true,
                "percent_available": "Unknown",
                "can_expand": true,
                "datastore_host": "null",
                "primordial_os_id": 15,
                "primordial_os_name": "Windows 8.1 (x64)",
                "oses": [
                    {
                        "id": 0,
                        "name": "Windows 8.1 (x64)"
                    }
                ]
            }
        ],
        "success": [
            {
                "id": 0,
                "name": "SNAPVOLUMES\test_user",
                "name_html": "SNAPVOLUMES\test_user",
                "title": "SNAPVOLUMES\test_user",
                "title_html": "SNAPVOLUMES\test_user",
                "owner": "<a href=\\\"/directory#/Users/2\\\" title=\\\"test_user\\\">TESTDOMAIN\\\\test_user</a>",
                "link": "/directory#/Users/2",
                "owner_id": 3,
                "owner_name": "TestUser",
                "owner_type": "User",
                "owner_upn": "SNAPVOLUMES\test_user",
                "owner_upn_html": "SNAPVOLUMES\test_user",
                "owner_object_guid": "8da04bfa-bbbe-45c3-9cbf-2d3d03897b84",
                "description": "My writable volume",
                "created_at": "2021-12-03 13:10:13 -0800",
                "created_at_human": "Dec 03 2021",
                "updated_at": "2021-12-03 13:10:13 -0800",
                "updated_at_human": "Dec 03 2021",
                "mounted_at": "2021-12-03 13:10:13 -0800",
                "mounted_at_human": "Dec 03 2021",
                "mounted_on": "Machine <DESKTOP-VM123> (#{1234567812345678})",
                "mount_count": 0,
                "attached": "string",
                "status": "enabled",
                "version_count": 0,
                "version_tag": "0",
                "error_action": "string",
                "block_login": true,
                "enable_version": false,
                "mount_prefix": "DESKTOP",
                "defer_create": true,
                "total_mb": 10237,
                "free_mb": 5237,
                "size_mb": 5000,
                "requested_mb": 20480,
                "template_version": "4.0.0",
                "busy": false,
                "state": "Moving",
                "volume_guid": "volumeguid-8-volumeguid",
                "datastore_name": "SSD Disk Array RAID8",
                "machine_manager_host": "0.0.0.0",
                "machine_manager_type": "Machine Manager",
                "path": "appvolumes/writable",
                "filename": "snapvolumes_test_user_15.vmdk",
                "file_location": "[SSD Disk Array RAID8] appvolumes/writable/snapvolumes_test_user_15.vmdk",
                "type": "DataDisk",
                "display_type": "Writable Volume",
                "files_count": 1,
                "template_file_name": "[SSD Disk Array RAID8] appvolumes/writable_templates/template_uia_only_persistent.vmdk",
                "protected": true,
                "percent_available": "Unknown",
                "can_expand": true,
                "datastore_host": "null",
                "primordial_os_id": 15,
                "primordial_os_name": "Windows 8.1 (x64)",
                "oses": [
                    {
                        "id": 0,
                        "name": "Windows 8.1 (x64)"
                    }
                ]
            }
        ],
        "error": [
            {
                "id": 0,
                "name": "SNAPVOLUMES\test_user",
                "name_html": "SNAPVOLUMES\test_user",
                "title": "SNAPVOLUMES\test_user",
                "title_html": "SNAPVOLUMES\test_user",
                "owner": "<a href=\\\"/directory#/Users/2\\\" title=\\\"test_user\\\">TESTDOMAIN\\\\test_user</a>",
                "link": "/directory#/Users/2",
                "owner_id": 3,
                "owner_name": "TestUser",
                "owner_type": "User",
                "owner_upn": "SNAPVOLUMES\test_user",
                "owner_upn_html": "SNAPVOLUMES\test_user",
                "owner_object_guid": "8da04bfa-bbbe-45c3-9cbf-2d3d03897b84",
                "description": "My writable volume",
                "created_at": "2021-12-03 13:10:13 -0800",
                "created_at_human": "Dec 03 2021",
                "updated_at": "2021-12-03 13:10:13 -0800",
                "updated_at_human": "Dec 03 2021",
                "mounted_at": "2021-12-03 13:10:13 -0800",
                "mounted_at_human": "Dec 03 2021",
                "mounted_on": "Machine <DESKTOP-VM123> (#{1234567812345678})",
                "mount_count": 0,
                "attached": "string",
                "status": "enabled",
                "version_count": 0,
                "version_tag": "0",
                "error_action": "string",
                "block_login": true,
                "enable_version": false,
                "mount_prefix": "DESKTOP",
                "defer_create": true,
                "total_mb": 10237,
                "free_mb": 5237,
                "size_mb": 5000,
                "requested_mb": 20480,
                "template_version": "4.0.0",
                "busy": false,
                "state": "Moving",
                "volume_guid": "volumeguid-8-volumeguid",
                "datastore_name": "SSD Disk Array RAID8",
                "machine_manager_host": "0.0.0.0",
                "machine_manager_type": "Machine Manager",
                "path": "appvolumes/writable",
                "filename": "snapvolumes_test_user_15.vmdk",
                "file_location": "[SSD Disk Array RAID8] appvolumes/writable/snapvolumes_test_user_15.vmdk",
                "type": "DataDisk",
                "display_type": "Writable Volume",
                "files_count": 1,
                "template_file_name": "[SSD Disk Array RAID8] appvolumes/writable_templates/template_uia_only_persistent.vmdk",
                "protected": true,
                "percent_available": "Unknown",
                "can_expand": true,
                "datastore_host": "null",
                "primordial_os_id": 15,
                "primordial_os_name": "Windows 8.1 (x64)",
                "oses": [
                    {
                        "id": 0,
                        "name": "Windows 8.1 (x64)"
                    }
                ]
            }
        ],
        "scheduled": [
            {
                "id": 0,
                "name": "SNAPVOLUMES\test_user",
                "name_html": "SNAPVOLUMES\test_user",
                "title": "SNAPVOLUMES\test_user",
                "title_html": "SNAPVOLUMES\test_user",
                "owner": "<a href=\\\"/directory#/Users/2\\\" title=\\\"test_user\\\">TESTDOMAIN\\\\test_user</a>",
                "link": "/directory#/Users/2",
                "owner_id": 3,
                "owner_name": "TestUser",
                "owner_type": "User",
                "owner_upn": "SNAPVOLUMES\test_user",
                "owner_upn_html": "SNAPVOLUMES\test_user",
                "owner_object_guid": "8da04bfa-bbbe-45c3-9cbf-2d3d03897b84",
                "description": "My writable volume",
                "created_at": "2021-12-03 13:10:13 -0800",
                "created_at_human": "Dec 03 2021",
                "updated_at": "2021-12-03 13:10:13 -0800",
                "updated_at_human": "Dec 03 2021",
                "mounted_at": "2021-12-03 13:10:13 -0800",
                "mounted_at_human": "Dec 03 2021",
                "mounted_on": "Machine <DESKTOP-VM123> (#{1234567812345678})",
                "mount_count": 0,
                "attached": "string",
                "status": "enabled",
                "version_count": 0,
                "version_tag": "0",
                "error_action": "string",
                "block_login": true,
                "enable_version": false,
                "mount_prefix": "DESKTOP",
                "defer_create": true,
                "total_mb": 10237,
                "free_mb": 5237,
                "size_mb": 5000,
                "requested_mb": 20480,
                "template_version": "4.0.0",
                "busy": false,
                "state": "Moving",
                "volume_guid": "volumeguid-8-volumeguid",
                "datastore_name": "SSD Disk Array RAID8",
                "machine_manager_host": "0.0.0.0",
                "machine_manager_type": "Machine Manager",
                "path": "appvolumes/writable",
                "filename": "snapvolumes_test_user_15.vmdk",
                "file_location": "[SSD Disk Array RAID8] appvolumes/writable/snapvolumes_test_user_15.vmdk",
                "type": "DataDisk",
                "display_type": "Writable Volume",
                "files_count": 1,
                "template_file_name": "[SSD Disk Array RAID8] appvolumes/writable_templates/template_uia_only_persistent.vmdk",
                "protected": true,
                "percent_available": "Unknown",
                "can_expand": true,
                "datastore_host": "null",
                "primordial_os_id": 15,
                "primordial_os_name": "Windows 8.1 (x64)",
                "oses": [
                    {
                        "id": 0,
                        "name": "Windows 8.1 (x64)"
                    }
                ]
            }
        ]
    }
}
string
success
Optional

Success details.

string
error
Optional

Failure details.

snapvols
Optional

snapvols