diff --git a/app/src/forms/form/controller.js b/app/src/forms/form/controller.js index 3da980836..3958a1bad 100644 --- a/app/src/forms/form/controller.js +++ b/app/src/forms/form/controller.js @@ -429,8 +429,8 @@ module.exports = { }, deleteExternalAPI: async (req, res, next) => { try { - const response = await service.deleteExternalAPI(req.params.formId, req.params.externalAPIId); - res.status(200).json(response); + await service.deleteExternalAPI(req.params.formId, req.params.externalAPIId); + res.status(204).send(); } catch (error) { next(error); }