curl --request PATCH \
--url https://api.example.com/api/libraries/{library_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"user_id": "<string>",
"asset_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>"
}Updates the name and/or description of an existing library. Only the fields included in the request body are changed. Library contents (assets, albums, people, faces) are not affected.
curl --request PATCH \
--url https://api.example.com/api/libraries/{library_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"user_id": "<string>",
"asset_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.gumnut.ai/llms.txt
Use this file to discover all available pages before exploring further.
Library ID (with lib_ prefix) of the library to update.
Successful Response
Represents a user's photo library.
Unique library identifier with 'lib_' prefix
Display name of the library
ID of the user who owns this library
Total number of assets in this library
When this library was created
When this library was last updated
Optional description text for the library