DELETE
/
delete-goal
curl --request DELETE \
  --url http://dolphinflashcards.com/api/delete-goal \
  --header 'Content-Type: application/json' \
  --data '{
  "userID": "user1",
  "goalID": "goal1"
}'
{
  "success": "Goal deleted successfully"
}

Body

application/json

Response

200
application/json
OK

The response is of type object.