Dirigible API reference
Endpoints · Music libraries
Update a library
Docs / Music libraries / Update a library
PATCH
https://node.dirigible.app/v1/music/{id}Renames a library or moves it (parentId). Returns the updated library.
Authentication
Bearer API key required.
Method
PATCH · JSON
Sync
Changes appear live in the app.
Parameters
idstringrequiredLibrary id.
Request body (JSON)
Status codes
200Success. Returns the resource (or an array); a delete returns { "ok": true }.
401Missing or invalid API key.
404The resource wasn't found (or isn't yours).
400Malformed request body.
curl -X PATCH "https://node.dirigible.app/v1/music/<id>" \
-H "Authorization: Bearer dg_your_key" \
-H "Content-Type: application/json" \
-d '{ "title": "Jazz & blues" }'curlruns against the live API
Sample response
{ "id": "lib1", "type": "music", "title": "Jazz & blues", "parentId": null }json