PUT
/api/v1/workspaces/{workspace_id}/folders/{folder_id}/default-templateSet a folder's default template
The template new pages in a folder start from: a built-in template's id or a workspace template's id, or null for a blank page. Admins only. People can still choose another template.
Guide: Templates
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.
Request body
#application/json, required
templatestringA built-in template's id, or a workspace template's id.
null: new pages start blank. Up to 64 characters.
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.