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.
Не можете да откриете филм или сериал? Влезте, за да го създадете.
Искате ли да го оцените или добавите към списък?
Нямате профил?
Отговор от Bao Nguyen
на 13 декември 2023 в 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.