Folders
Use the following endpoint to manage folders and projects (top level folders) in customer workspaces.
ENDPOINT ACCESS
To access these endpoints, your API client must have the appropriate privileges. This is determined by the role assigned to your API client.
To enable endpoint access:
You can enable access to these endpoints by editing an existing API client role, or by creating a new API client role:
Navigate to Workspace admin > API clients > Client roles.
Select the role you plan to edit.
Alternatively, click + Add client role to create a new API client role.
Select the checkbox(es) next to the endpoint(s) you plan to enable for this role. The following options are available:
- Projects & folders
- Select this option to enable all endpoints for this role.
- List folders
GET /api/managed_users/:managed_user_id/folders
- List projects
GET /api/managed_users/:managed_user_id/projects
- Create folder
POST /api/managed_users/:managed_user_id/folders
- Delete folder
DELETE /api/managed_users/:managed_user_id/folders
/:folder_id - Delete project
DELETE /api/managed_users/:managed_user_id/projects
/:project_id