Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement DELETE /api/admin/roles/delete/[rid] endpoint #187

Open
jaytula opened this issue Sep 25, 2021 · 0 comments
Open

Implement DELETE /api/admin/roles/delete/[rid] endpoint #187

jaytula opened this issue Sep 25, 2021 · 0 comments
Labels
Back End Focused on Back End (Express / Postgres / Docker) Enhancement Improves or adds something

Comments

@jaytula
Copy link
Contributor

jaytula commented Sep 25, 2021

This issues depends on the resolving #185

We need an endpoint added in Next for deleting a role from the roles table. It would be with the apis in admin/roles folder and delete.ts file.
That structure will give us the desired endpoint /api/admin/roles/delete.

The endpoint should accept an rid and delete the matching role from the roles table.

@ZumDeWald ZumDeWald added Back End Focused on Back End (Express / Postgres / Docker) Enhancement Improves or adds something hacktoberfest-accepted Accept for Hacktoberfest, will merge after review labels Sep 29, 2021
@ZumDeWald ZumDeWald changed the title Implement DELETE /api/admin/roles/[rid] endpoint Implement DELETE /api/admin/roles/delete/[rid] endpoint Sep 29, 2021
@ZumDeWald ZumDeWald removed the hacktoberfest-accepted Accept for Hacktoberfest, will merge after review label Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Back End Focused on Back End (Express / Postgres / Docker) Enhancement Improves or adds something
Projects
None yet
Development

No branches or pull requests

2 participants