Wong-Jia-Jun / devops-capstone-project

Apache License 2.0
0 stars 0 forks source link

Delete Customer Account Information #4

Open Wong-Jia-Jun opened 1 week ago

Wong-Jia-Jun commented 1 week ago

As a use I need to delete customer/my account information from the service So that I can remove outdated or incorrect accounts which i no longer need

Details and Assumptions

* An endpoint exists to delete an account by account ID.
* The account is removed from the database.
* Proper error handling is in place for invalid account IDs.
* Unit tests cover the functionality.

Acceptance Criteria

gherkin 
Given a valid account ID
When I send a request to the delete account endpoint
Then the account should be removed from the database

Given an invalid account ID
When I send a request to the delete account endpoint
Then I should receive an error message indicating the account was not found