Xibo clear cache with API

The API change the media in the library but the Player don’t like it and take the default layour when he communicates with the cms.
Have you a solution to clear the cache of the display with the API for my script? Because I don’t find any solution with swagger.

You need to find out why the change via the API isn’t liked by the Player. If it’s going to the default layout, it means that either the Player doesn’t have all the media items it needs to show whatever is scheduled. If you’ve just added new content, then that would be expected for a time as the Player will need to download the new content before it can show it.

If it remains on the default layout, then it could well be that the change you’re making via the API invalidates the layout and therefore the Player correctly refuses to show it.