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.DeleteCaches(ctx)
if err != nil {
log.Fatal(err)
}
if res != nil {
// handle response
}
}This response does not have an example.Delete the hub caches so they are recomputed on next request
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.DeleteCaches(ctx)
if err != nil {
log.Fatal(err)
}
if res != nil {
// handle response
}
}This response does not have an example.Was this page helpful?