diff --git a/api/CHANGELOG.md b/api/CHANGELOG.md index 1b25229f3b..ff0ba0096a 100644 --- a/api/CHANGELOG.md +++ b/api/CHANGELOG.md @@ -12,6 +12,7 @@ All notable changes to the **Prowler API** are documented in this file. - `/processors` endpoints to post-process findings. Currently, only the Mutelist processor is supported to allow to mute findings. - Optimized the underlying queries for resources endpoints [(#8112)](https://github.com/prowler-cloud/prowler/pull/8112) - Optimized include parameters for resources view [(#8229)](https://github.com/prowler-cloud/prowler/pull/8229) +- Improved user deletion error handling with structured JSON response [(#8272)](https://github.com/prowler-cloud/prowler/pull/8272) ### Fixed - Search filter for findings and resources [(#8112)](https://github.com/prowler-cloud/prowler/pull/8112) diff --git a/api/src/backend/api/v1/views.py b/api/src/backend/api/v1/views.py index 84b7c81b32..c0440e30f6 100644 --- a/api/src/backend/api/v1/views.py +++ b/api/src/backend/api/v1/views.py @@ -791,7 +791,6 @@ class UserViewSet(BaseUserViewset): "detail": "Failed to delete the user", "status": "400", "code": "delete_failed" - } ] )