DELETE
/api/v1/workspaces/{workspace_id}/folders/{folder_id}Delete a folder
Deletes a folder. The documents in it aren't deleted: unfiled_documents says how many are no longer in a folder.
API token required60 per minute per IP
Code samples and Try itPath parameters
#workspace_idstringRequiredThe workspace's id, from the address of its settings page (
markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.folder_idstringRequiredThe folder's id, from List folders.
Query parameters
#modestringOne of
unfile,move_up. One ofunfile,move_up. Default"unfile".
Responses
#200OK.401No token, or the token is revoked or mistyped.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.
200 response: 1 field (FolderDeleteResponse)
unfiled_documentsinteger