PUT/api/v1/workspaces/{workspace_id}/folders/{folder_id}/share

Share a folder

Creates a link to a folder. Each visitor sees only the documents they could already open: sharing a folder never changes any document's access. hidden lists what the link's audience can't see.

API token required60 per minute per IP

Guide: Share a folder

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

  • level"link" | "workspace"Required

    link: anyone with the folder link; workspace: members only. Each visitor still sees only the documents they could already open.

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?