workspace

Toggle restrict-access on a library

When restrictAccess=true, role-based access is bypassed and only explicit grants (plus org admin / creator) reach the library. Restricting cuts pre-existing external share links of the library's documents. MANAGE-gated.

put/workspace/libraries/{id}/restrict

Request

  • Base URL: https://api.onplana.com/api
  • URL: https://api.onplana.com/api/workspace/libraries/{id}/restrict
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Path parameters

idstring required

Library UUID

Headers

X-Organization-Idstring required

UUID of the active organization. Sets org context for all scoped operations.

Request body

restrictAccessboolean required

Response

Updated library

Changes

No recorded changes to this operation across all 1 revision of this API.