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 17 forks source link

Delete API Key #58

Closed alexboateng closed 3 months ago

alexboateng commented 3 months 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 3 months ago

@alexboateng I will like to pick up this issue