DELETE
/
delete-goal
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
userID
string
required

Identifies the user deleting a goal.

Example:

"user1"

goalID
string
required

A 77-digit unique identifier or key associated with the goal being deleted.

Example:

"goal1"

Response

OK

success
string

Provides additional information confirming that the request was successful.

Example:

"Goal deleted successfully"