PUT
/api/v1/documents/{slug}/templateMake a page a template
true turns the page itself into a template, sub-pages included: it leaves every list and search and shows when people make a new page. false turns it back into a page. Pages already made from it never change.
API token required10 per minute per IP
Guide: Templates
Code samples and Try itPath parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.
Request body
#application/json, required
templatebooleanRequiredtruemakes the page a template;falsemakes it a page again.
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.