Authorizations
Response
200 - text/html
package main
import(
"context"
"github.com/LukeHagar/plexgo"
"log"
)
func main() {
ctx := context.Background()
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
)
res, err := s.Library.CleanBundles(ctx)
if err != nil {
log.Fatal(err)
}
if res != nil {
// handle response
}
}This response does not have an example.Clean out any now unused bundles. Bundles can become unused when media is deleted
package main
import(
"context"
"github.com/LukeHagar/plexgo"
"log"
)
func main() {
ctx := context.Background()
s := plexgo.New(
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
)
res, err := s.Library.CleanBundles(ctx)
if err != nil {
log.Fatal(err)
}
if res != nil {
// handle response
}
}This response does not have an example.Was this page helpful?