Get Folders
Get all folders within the current organization
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
Number of records you want to get.
Number of records you want to skip.
Flag which when specified, regardless of the assigned value, shows the total number of records. If the collection has a filter it shows the number of records matching the filter.
Select a subset of properties to include in the response.
Filter the results by a specified predicate expression. Operators: eq, ne, and, or.
The ID of a vcenter cloud account.
The external unique identifier of the region associated with the vcenter cloud account.
Successful operation
{
"content": [
{
"id": "9.0E49",
"createdAt": "2012-09-27",
"updatedAt": "2012-09-27",
"owner": "[email protected]",
"ownerType": "ad_group",
"orgId": "42413b31-1716-477e-9a88-9dc1c3cb1cdf",
"_links": {
"empty": false
},
"name": "my-name",
"description": "my-description",
"externalId": "i-cfe4-e241-e53b-756a9a2e25d2",
"customProperties": {
"folderType": "1"
},
"cloudAccountIds": [
"[ \"cloud-account-id-1\", \"cloud-account-id-2\" } ]"
]
}
],
"totalElements": 1,
"numberOfElements": 1
}
List of content items
Total number of elements. In some cases the field may not be populated
Number of elements in the current page
Forbidden
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
curl -H 'Authorization: <value>' https://{api_host}/iaas/api/folders?apiVersion=v