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 a library owned by the authenticated user.
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>"
}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