List Datastore Paths

List Datastore Paths

Lists all the folder paths within a Datastore from vCenter.

Request
URI
GET
https://{api_host}//localhost/rest/external/v1/datastore-paths
COPY
Query Parameters
string
datastore_id
Required

Datastore ID

datastore_id example
datastore-29
string
vcenter_id
Required

Virtual Center ID

vcenter_id example
d0325b13-2bf1-4fa4-b027-e780004f2d1e

Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "id": "a219420d-4799-4517-8f78-39c74c7c4efc",
        "path": "[datastore1] ISO images"
    }
]

401

User is not authenticated

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure