OptionalagentLibrary agent identifier. Defaults to the section's current agent.
OptionallocationsFull replacement list of folder paths for this library section.
OptionalpreferencesAdditional section edit parameters or Plex preference keys. Boolean values are sent as 1 or 0.
Values accepted by LibrarySection.edit.
Use this for section-level edits where Plex expects the full replacement list of locations. For simple path changes, prefer LibrarySection.addLocations and LibrarySection.removeLocations; they preserve the current paths for you.