cURL
curl --request POST \ --url http://dolphinflashcards.com/api/edit-card-goal \ --header 'Content-Type: application/json' \ --data '{ "userID": "123", "goalID": "goal1", "newEndDate": "30/07/2024", "newTitle": "title1", "newCardsToRevise": "4" }'
{ "success": "Goal updated successfully" }
Edit an existing card goal for the user.
OK
The response is of type object.
object