POST/api/v1/documents/access/level

Set access for several documents

Sets the access level of many documents you own at once. Each one is checked on its own: the response has a result per address.

API token required30 per minute per IP
Code samples and Try it

Request body

#

application/json, required

  • slugsarray of stringRequired

    1–200 items.

  • level"private" | "link" | "workspace"Required

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?