Bug Report
Describe the bug
Using the 'update mentor data' endpoint to attempt to update the profile status for a mentor does not work. However, there's currently no endpoint available to update a mentor's profile status to ban them or deactivate their profile.
We need to either have a way to update mentors' profile status via existing endpoint or have another endpoint that can help do this.
To Reproduce
- Using Swagger, try to run the
/api/platform/v1/mentors/{mentorId} endpoint with the mentor's data but profilestatus updated.
- it returns a 200 response but the mentor's profile status still shows at ACTIVE
Expected behavior
profile status should be updated to the new status expected.
Screenshots
Reproducibility
Impact
Bug Report
Describe the bug
Using the 'update mentor data' endpoint to attempt to update the profile status for a mentor does not work. However, there's currently no endpoint available to update a mentor's profile status to ban them or deactivate their profile.
We need to either have a way to update mentors' profile status via existing endpoint or have another endpoint that can help do this.
To Reproduce
/api/platform/v1/mentors/{mentorId}endpoint with the mentor's data but profilestatus updated.Expected behavior
profile status should be updated to the new status expected.
Screenshots
Reproducibility
Impact