PUT/api/v1/workspaces/{workspace_id}/folders/{folder_id}/default-template

Set 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.

API token required10 per minute per IPMCP: set_folder_default_template

Guide: Templates

Code samples and Try it

Path parameters

#
  • workspace_idstringRequired

    The workspace's id, from the address of its settings page (markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.

  • folder_idstringRequired

    The folder's id, from List folders.

Request body

#

application/json, required

  • templatestring

    A 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. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?