mestafrica / mobile-wallet-fraud-database

Currently, curbing mobile money fraud in the country is nearly impossible. To tackle this issue, we propose developing a real-time database that allows users to query and determine if a phone number is likely fraudulent based on public contributions, especially from those who have experienced fraud.
MIT License
0 stars 10 forks source link

Delete API Key #58

Closed alexboateng closed 1 month ago

alexboateng commented 1 month ago

Endpoint: /api/keys/{keyId} Method: DELETE Description: Allows users to delete an API key. Authorization Required: Yes

Parameters: Key ID: The unique identifier for the API key to be deleted.

Security Measures: Authorization Check: Verify that the user is authenticated and owns the API key before deletion.

Feedback: Success: "API key deleted successfully." Failure: "You do not have permission to delete this API key or it does not exist."**

Sarah0360 commented 1 month ago

@alexboateng I will like to pick up this issue