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.
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Bao Nguyen
den 13 december 2023 vid 5:08 AM
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.