It appears that the v3 docs for DELETE /authentication/session
here are incorrect/out-of-date?
The docs claim session_id
should be passed in the request body, but I get a 405 Not Allowed
by doing that.
Instead, it appears the API expects a session_id
query param (this is best practice, anyway!).
With the session_id
sent as a query param, I get 200 Success
and the session does get deleted.
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Bao Nguyen
le 13 décembre 2023 à 05h08
Sorry to resurrect this old post but I can indeed confirm this is the only way I can make the delete session api work, just posting to confirm this method for future people arriving at this page.