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.
The unique identifier of the folder item.
The file location of the folder item.
The unique identifier of the parent folder item. Can be null if it is a root item.
Was this page helpful?