PUT/api/v1/me/documents/{slug}/analytics/settings

Change an item's analytics settings

settings: the item's own settings (null: use the defaults again). A kind its workspace enforces off stays off. delete: also delete its already collected data for those kinds. The owner, or the workspace's owner and admins.

API token required60 per minute per IPMCP: set_analytics_settings

Guide: Choose what's tracked

Code samples and Try it

Path parameters

#
  • slugstringRequired

    The document's address: the part after markdrop.in/.

Request body

#

application/json, required

  • settingsobject
  • deletearray of string

    Up to 9 items.

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.