cURL
curl --request GET \ --url https://api.mudstack.com/workspace/folders/hierarchy \ --header 'Authorization: Bearer <token>' \ --header 'x-account-id: <x-account-id>' \ --header 'x-workspace-id: <x-workspace-id>'
[ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "file_location": "<string>", "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ]
Retrieve the hierarchy of folders in the workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Folder hierarchy retrieved successfully.
An array of folder hierarchy items.
Was this page helpful?