LoudVoice API \ Discussions \ Delete discussion
|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 remove a discussion. The
<discussion_token> has to be replaced by the unique token
of an existing discussion.
You can also delete the discussion using it's reference and the following endpoint:
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 the endpoint.
Result: the code returned by the API
The API will either return a HTTP status code
200 if the entry was successfully deleted
or an appropriate message body with further details on the error that occured.