HomeCEU/cems-docs

DELETE /api/v2/user/{user_id}/email

Opened this issue · 0 comments

CeeEm commented

Link to endpoint:
https://homeceu.github.io/cems-docs/#/User/delete_user__userId__email

{user_id} is ignored when deleting the email. To test the endpoint the path used was /api/v2/user/999999/email and still resulted in a status 200 and upon verification, the email was deleted. This was done on a user account that has no admin privileges.

It should be noted that on a non-admin account, it is not possible to delete emails that do not belong to the current user.