API: Stop Playback Endpoint?

Hi,

with regards to the new Stop Playback feature on the Status page on PMS, is there an API endpoint that can be used to do this feature remotely?

In case anyone else stumbles across this, the api call looks like:

/status/sessions/terminate?sessionId=ID&reason=REASON&X-Plex-Token=TOKEN

1 Like

@pengee said:
In case anyone else stumbles across this, the api call looks like:

/status/sessions/terminate?sessionId=ID&reason=REASON&X-Plex-Token=TOKEN

Brilliant! I have been looking for this for absolutely ages!

Is this Plex Pass only? I’ve been happily coding against the API, but hit a 401 with this endpoint.

Possibly user error (with the token I was using) but also a Plex Pass user now, so unsure which fixed it but it’s working now. :smiley: