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

[FEAT] Implement API to Delete Users in an Organization #1295

Open
gr4yx01 opened this issue Feb 28, 2025 · 0 comments
Open

[FEAT] Implement API to Delete Users in an Organization #1295

gr4yx01 opened this issue Feb 28, 2025 · 0 comments
Labels

Comments

@gr4yx01
Copy link
Contributor

gr4yx01 commented Feb 28, 2025

Description:
Develop an endpoint that allows an admin to delete users from a specific organization. This feature is crucial for maintaining accurate and up-to-date user rosters within an organization.

Acceptance Criteria:
Purpose:
Allow administrators to remove users from an organization efficiently and without encountering errors, ensuring the organization’s user list remains accurate.

Requirements:

Create an API endpoint (e.g., DELETE /api/organizations/{organizationId}/users) to delete a specified user from the organization.
Ensure the endpoint is secure and accessible only to users with administrative privileges.
Implement proper error handling to provide meaningful error messages if the deletion fails.
Expected Outcome:

Admins can successfully delete a user from an organization via the API without encountering errors.
The user is removed from the organization’s user list and database records are updated accordingly.
Appropriate success or failure messages are returned, ensuring the admin is informed of the operation’s result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant