Email folders REST Endpoints

Application/2.0/Email folders
Email folders organize your email assets.
Add content to a folder
Method: patch
Path: /api/rest/2.0/assets/email/folder/{id}/contents
Create a folder
Method: post
Path: /api/rest/2.0/assets/email/folder
Delete a folder
Method: delete
Path: /api/rest/2.0/assets/email/folder/{id}
Retrieve a folder
Method: get
Path: /api/rest/2.0/assets/email/folder/{id}
Retrieve a list of folder contents
Method: get
Path: /api/rest/2.0/assets/email/folder/{id}/contents
Retrieve a list of folder contents in the root folder
Method: get
Path: /api/rest/2.0/assets/email/folder/root/contents
Retrieve a list of folders
Method: get
Path: /api/rest/2.0/assets/email/folders
Retrieve a list of subfolders
Method: get
Path: /api/rest/2.0/assets/email/folder/{id}/folders
Retrieve a list of subfolders in the root folder
Method: get
Path: /api/rest/2.0/assets/email/folder/root/folders
Retrieve the root folder
Method: get
Path: /api/rest/2.0/assets/email/folder/root
Update a folder
Method: put
Path: /api/rest/2.0/assets/email/folder/{id}