PATCH
/api/v1/documents/{slug}/propertiesSet a page's property values
Sets some of a page's property values, by key. null clears one. For people who can edit the page.
Token optionalOr edit secret120 per minute per IP
Guide: Properties and views
Code samples and Try itPath parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.
Headers
#X-Edit-SecretstringThe document's edit secret (
sk_…), for a document published without an account. See Edit key.
Request body
#application/json, required
valuesobjectRequiredValues by property key.
nullclears one.base_revintegerThe page's
revyou read. If it changed since, the answer is409instead of overwriting it.
Responses
#200OK.409The page changed since yourbase_rev.422A value doesn't fit its property, or it isn't a page.423Someone else is editing the page, or it's locked.429Too many requests from your IP address. Wait the seconds inRetry-After.