You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @apiDescription Deletes one or multiple events. Params can be send as POST and also as GET.
1195
+
* @apiQuery {String} app_id Application id
1196
+
* @apiQuery {String} events JSON array of event keys to delete. For example: ["event1", "event2"]. Value must be passed as string. (Array must be stringified before passing to API)
1197
+
*
1198
+
* @apiSuccessExample {json} Success-Response:
1199
+
* HTTP/1.1 200 OK
1200
+
* {
1201
+
* "result":"Success"
1202
+
* }
1203
+
*
1204
+
* @apiErrorExample {json} Error-Response:
1205
+
* HTTP/1.1 400 Bad Request
1206
+
* {
1207
+
* "result":"Missing parameter \"api_key\" or \"auth_token\""
sed -i "s#storage:#storage:\n${INDENT_STRING}wiredTiger:\n${INDENT_STRING}${INDENT_STRING}engineConfig:\n${INDENT_STRING}${INDENT_STRING}${INDENT_STRING}directoryForIndexes: true#g"${MONGODB_CONFIG_FILE}
sed -i "s#storage:#storage:\n${INDENT_STRING}wiredTiger:\n${INDENT_STRING}${INDENT_STRING}engineConfig:\n${INDENT_STRING}${INDENT_STRING}${INDENT_STRING}directoryForIndexes: true#g"${MONGODB_CONFIG_FILE}
43
+
fi
44
+
45
+
rm -rf "${MONGODB_DATA_PATH:?}"/*
46
+
systemctl restart mongod > /dev/null ||echo"mongodb systemctl job does not exist"
0 commit comments