LoudVoice API \ Author Sessions \ Delete a session
|Resource/URI - Discussions||GET||POST||PUT||DELETE|
||List all discussions||Create a discussion||–||–|
||Read a discussion||–||Update a discussion||Delete a discussion|
||Read discussion comments||–||–||–|
|Resource/URI - Authors||GET||POST||PUT||DELETE|
||List all authors||Create an author||–||–|
||Read an author||–||Update an author||Delete an author|
|Resource/URI - Author Sessions||GET||POST||PUT||DELETE|
||–||–||Create/Update a session||–|
||–||–||–||Delete a session|
Request: the code to send to the API
DELETE request to the resource
to immediately delete a session. The
<author_session_token> has to be replaced by the unique
token of an existing session.
To prevent you from unintentionally deleting an entry by mixing up the DELETE/GET methods you have to include the url parameter confirm_deletion=true when calling this endpoint.
Please note that sessions are also removed automatically once their expiration date has been reached.
Result: the code returned by the API
The API will either return a HTTP status code
200 if the entry was sucessfully deleted
or an appropriate message body with further details on the error that occured.