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

New feature proposal : org : DELETE /org/:orgusername #51

Closed
tanay13 opened this issue Jun 17, 2020 · 1 comment
Closed

New feature proposal : org : DELETE /org/:orgusername #51

tanay13 opened this issue Jun 17, 2020 · 1 comment
Labels
accepted backend work related to backend module:org

Comments

@tanay13
Copy link
Member

tanay13 commented Jun 17, 2020

Child of #47

  • I will use delete method request to delete the organisation with the given username .
  • Then using mongoDB command db.collection.deleteOne( { orgusername: req.params.orgusername } )
    i will delete that particular organisation .
  • I will also use a middleware to check whether the user who is trying to delete is authorized or not .

@YashKumarVerma

@lockedup-bot
Copy link

lockedup-bot bot commented Jun 17, 2020

Thanks @tanay13, for raising the issue! 🙌
One of our team mates will revert on this soon. ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted backend work related to backend module:org
Projects
None yet
Development

No branches or pull requests

2 participants