Library
Add library members
Add one or more members to the library; owner only.
post/libraries/{library_id}/members
Request
- Base URLhttps://api.your-domain.com
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
library_idinteger required
Query parameters
cookie_namestring nullable
Request body
Example request
{
"members": [
{
"user_id": 42,
"role": "member"
}
]
}Response
Successful Response
Example response
[
{
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-16T08:00:00Z",
"creator_user_id": 12,
"updater_user_id": 12,
"library_id": 1,
"user_id": 1,
"role": "OWNER"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.