v64

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-016280256.4 KB
libraries

Update a library

Renames a library or changes its description. Only the fields included in the request body are changed. Library contents (assets, albums, people, faces) are not affected.

patch/api/libraries/{library_id}

Path parameters

library_idstring required

Library ID (with lib_ prefix) of the library to update.

Library ID (with lib_ prefix) of the library to update.

Request body

namestring nullable

New display name for the library. Omit to leave unchanged.

descriptionstring nullable

New free-form description for the library. Omit to leave unchanged.

Response

Successful Response

idstring required

Unique library identifier with 'lib_' prefix

namestring required

Display name of the library

descriptionstring nullable

Optional description text for the library

user_idstring required

ID of the user who owns this library

asset_countinteger required

Total number of assets in this library

storage_used_bytesinteger required

Bytes of assets currently stored in this library

storage_limit_bytesinteger nullable

Maximum bytes this library may store, or null if no per-library limit applies

created_atstring date-time required

When this library was created

updated_atstring date-time required

When this library was last updated