pezzolabs/pezzo

Ability to delete provider API keys

arielweinberger opened this issue · 3 comments

Proposal

Currently, when we render API keys, we have a button to edit each API key. As #208 is in development, we'll need a way to allow customers to delete their API keys.

Simply add a red button with a trash icon (same as done in other places in the platform) that deletes an API key. Implement the API endpoint if it does not exist.

Context

  • Need to do some NestJS work (add a resolver mutation - deleteProviderApiKey, the service method already exists)
  • React (add a button, GraphQL mutation definition + hook, call the resolver mutation)

Use-Case

No response

Is this a feature you are interested in implementing yourself?

Happy for interested community members to pick this up!

@arielweinberger Please assign this issue to me.

@adityapuri75 Good luck!

hii @arielweinberger, I have created a PR for this issue please review