Skip to content

Refactor: Change Account Deletion Endpoint from POST to DELETE - #56739

Closed
kartiktoogoated wants to merge 2 commits into
freeCodeCamp:mainfrom
kartiktoogoated:feature/delete-account-endpoint
Closed

kartiktoogoated wants to merge 2 commits into
freeCodeCamp:mainfrom
kartiktoogoated:feature/delete-account-endpoint

Conversation

@kartiktoogoated

@kartiktoogoated kartiktoogoated commented Oct 18, 2024 •

Copy link
Copy Markdown

Checklist:

Closes #50301

This pull request changes the account deletion endpoint from POST /account/delete to DELETE /account. The new implementation improves the RESTful API design and enhances the overall code structure by consolidating related deletions into a single transaction.

@kartiktoogoated
kartiktoogoated requested a review from a team October 18, 2024 08:48
@github-actions github-actions Bot added the platform: api Server application that needs familiarity with Express, Fastify, MongoDB etc. label Oct 18, 2024
@camper-chan

camper-chan Bot commented Oct 18, 2024

Copy link
Copy Markdown

Thank you for opening this pull request.

This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.

Thank you and happy coding.

@camper-chan camper-chan Bot closed this Oct 18, 2024
@camper-chan camper-chan Bot added the spam This PR is low-effort/spammy and has been flagged for review by the Hacktoberfest team. label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: api Server application that needs familiarity with Express, Fastify, MongoDB etc. spam This PR is low-effort/spammy and has been flagged for review by the Hacktoberfest team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

POST /user/account/delete -> DELETE /user/account

1 participant