put
https://{server}/api/v2.1/admin/libraries//
Update a library. The following actions can be combined:
status: set the library tonormalorread-only.name: rename the library.owner: transfer the library to another user. The new owner's role must allow creating libraries. Share links and upload links are transferred to the new owner.reshare(new in v13):truekeeps the existing user/group shares when transferring; otherwise they are not carried over.
Permission: System admin (is_staff) whose admin role grants can_manage_library. Admin roles with a restricted permission set (e.g. audit_admin, system_admin) receive 403.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
400status invalid., name invalid., owner invalid. or the library already belongs to the new owner.
403Permission denied: the account is not a system admin, or its admin role lacks the required admin permission. Also returned if the new owner's role cannot add libraries, or (multi-tenancy) for organization libraries/users.
404Library or new owner not found.
500Internal server error.