maxDepth parameter. The response includes an ancestors array showing the parent hierarchy and an inheritAccessFromParent field indicating whether access is inherited.
Prior to using this API, you must:
- Enable advanced queries option in the console
- Deploy v4 series of the Velt SDK.
Endpoint
POST https://api.velt.dev/v2/organizations/folders/get
Headers
Your API key.
Your Auth Token.
Body
Params
Example Requests
1. Get all folders in organization
2. Get specific folder in an organization
3. Get folder with nested subfolders at specific depth
Use the
maxDepth parameter to retrieve nested subfolders at any depth level. The response includes an ancestors array showing the parent hierarchy and an inheritAccessFromParent field indicating whether access is inherited.Response
Success Response for All Folders
Success Response for Specific Folder
Success Response with maxDepth
When using
maxDepth, the response includes deeply nested subfolders. Each folder includes an ancestors array showing its full parent hierarchy and an inheritAccessFromParent field indicating whether it inherits access permissions from its parent.
