API : Delete Poll
Check the Polls App.
End Point
METHOD : DELETE
https://mocker.in/api/polls/POLL_ID/EDIT_PASSWORD
Poll ID
and EDIT_PASSWORD
should be replaced by your actual poll id. No parameters are required.
Response
{
"status": "success",
"message": "Your poll deleted successfully."
}
The reponse will always return two parameters, status
and message
. If status is success
then the poll is deleted successfully.